mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
Merge pull request #4621 from dalinaum/test_atexit
Update test_atexit from cpython 3.11.2
This commit is contained in:
1 file changed
+1
Vendored
+1
@@ -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