We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3665fd commit 3814e53Copy full SHA for 3814e53
Lib/test/test_array.py
@@ -1683,8 +1683,7 @@ class FreeThreadingTest(unittest.TestCase):
1683
# Non-deterministic, but at least one of these things will fail if
1684
# array module is not free-thread safe.
1685
1686
- @unittest.skipUnless(sysconfig.get_config_var('Py_GIL_DISABLED'),
1687
- 'this test can only fail with GIL disabled')
+ @unittest.skipUnless(support.Py_GIL_DISABLED, 'this test can only possibly fail with GIL disabled')
1688
@threading_helper.reap_threads
1689
@threading_helper.requires_working_threading()
1690
def test_free_threading(self):
0 commit comments