Skip to content

Commit d09527b

Browse files
authored
Merge pull request RustPython#4621 from dalinaum/test_atexit
Update test_atexit from cpython 3.11.2
2 parents 822f6a9 + ad05321 commit d09527b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Lib/test/test_atexit.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ def f():
8282
self.assertEqual(ret, 0)
8383
self.assertEqual(atexit._ncallbacks(), n)
8484

85+
@unittest.skipUnless(hasattr(os, "pipe"), "requires os.pipe()")
8586
def test_callback_on_subinterpreter_teardown(self):
8687
# This tests if a callback is called on
8788
# subinterpreter teardown.

0 commit comments

Comments
 (0)