Merge pull request #4621 from dalinaum/test_atexit

Update test_atexit from cpython 3.11.2
This commit is contained in:
Jim Fasarakis-Hilliard authored and GitHub committed 2023-03-03 13:11:21 +02:00
commit d09527b75e
1 file changed
+1
+1
View File
@@ -82,6 +82,7 @@ class SubinterpreterTest(unittest.TestCase):
self.assertEqual(ret, 0)
self.assertEqual(atexit._ncallbacks(), n)
@unittest.skipUnless(hasattr(os, "pipe"), "requires os.pipe()")
def test_callback_on_subinterpreter_teardown(self):
# This tests if a callback is called on
# subinterpreter teardown.