From ad05321d9467c0df8d06f1704b22240f8591ee23 Mon Sep 17 00:00:00 2001 From: CPython Developers <> Date: Fri, 3 Mar 2023 16:30:09 +0900 Subject: [PATCH] Update test_atexit from cpython 3.11.2 --- Lib/test/test_atexit.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/test/test_atexit.py b/Lib/test/test_atexit.py index e0feef7c653..7ac063cfc78 100644 --- a/Lib/test/test_atexit.py +++ b/Lib/test/test_atexit.py @@ -82,6 +82,7 @@ def f(): 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.