diff --git a/Lib/test/test_threading.py b/Lib/test/test_threading.py index 31b52e14e5060f..9ba5f68fd4a53c 100644 --- a/Lib/test/test_threading.py +++ b/Lib/test/test_threading.py @@ -1209,6 +1209,7 @@ def f(): @skip_unless_reliable_fork + @unittest.skipUnless(hasattr(threading, 'get_native_id'), "test needs threading.get_native_id()") def test_native_id_after_fork(self): script = """if True: import threading