Skip to content

Commit ad05321

Browse files
CPython Developersdalinaum
authored andcommitted
Update test_atexit from cpython 3.11.2
1 parent 822f6a9 commit ad05321

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)