forked from Rust-related/RustPython
Update test_atexit from cpython 3.11.2
This commit is contained in:
1
Lib/test/test_atexit.py
vendored
1
Lib/test/test_atexit.py
vendored
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user