1
0
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:
Mariusz Felisiak 2024-02-22 06:27:39 +01:00 committed by GitHub
parent eceb5e2eea
commit f835787f71
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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")