mirror of
https://github.com/django/django.git
synced 2024-12-23 01:25:58 +00:00
Refs #32114 -- Fixed RemoteTestResultTest.test_unpicklable_subtest test without tblib.
Follow up to c09e8f5fd8
.
This commit is contained in:
parent
eceb5e2eea
commit
f835787f71
@ -113,6 +113,7 @@ class RemoteTestResultTest(SimpleTestCase):
|
|||||||
with self.assertRaisesMessage(TypeError, msg):
|
with self.assertRaisesMessage(TypeError, msg):
|
||||||
result._confirm_picklable(not_unpicklable_error)
|
result._confirm_picklable(not_unpicklable_error)
|
||||||
|
|
||||||
|
@unittest.skipUnless(tblib is not None, "requires tblib to be installed")
|
||||||
def test_unpicklable_subtest(self):
|
def test_unpicklable_subtest(self):
|
||||||
result = RemoteTestResult()
|
result = RemoteTestResult()
|
||||||
subtest_test = SampleFailingSubtest(methodName="pickle_error_test")
|
subtest_test = SampleFailingSubtest(methodName="pickle_error_test")
|
||||||
|
Loading…
Reference in New Issue
Block a user