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
1 changed files with 1 additions and 0 deletions

View File

@ -113,6 +113,7 @@ class RemoteTestResultTest(SimpleTestCase):
with self.assertRaisesMessage(TypeError, msg):
result._confirm_picklable(not_unpicklable_error)
@unittest.skipUnless(tblib is not None, "requires tblib to be installed")
def test_unpicklable_subtest(self):
result = RemoteTestResult()
subtest_test = SampleFailingSubtest(methodName="pickle_error_test")