diff options
| author | Christian Heimes <christian@python.org> | 2022-05-16 07:37:30 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-16 07:37:30 (GMT) |
| commit | 730902c0ad997462d2567e48def5352fe75c0e2c (patch) | |
| tree | a83ccc77e4c006b1b4f8a061d5102cf62d72dcf3 /Lib/test/test_atexit.py | |
| parent | 3ed1cae9ed9d1f0dd9d68da4b30b731fdf6be768 (diff) | |
| download | cpython-730902c0ad997462d2567e48def5352fe75c0e2c.zip cpython-730902c0ad997462d2567e48def5352fe75c0e2c.tar.gz cpython-730902c0ad997462d2567e48def5352fe75c0e2c.tar.bz2 | |
gh-90473: WASI: Mark tests that require os.pipe() (GH-92837)
Diffstat (limited to 'Lib/test/test_atexit.py')
| -rw-r--r-- | Lib/test/test_atexit.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_atexit.py b/Lib/test/test_atexit.py index e0feef7..7ac063c 100644 --- a/Lib/test/test_atexit.py +++ b/Lib/test/test_atexit.py @@ -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. |
