diff options
author | Nice Zombies <nineteendo19d0@gmail.com> | 2024-06-18 13:56:20 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-18 13:56:20 (GMT) |
commit | 360f14a493d8461d42dc646be40b4b6fb20db57a (patch) | |
tree | c064269744bd4c3d601ccb3a6a851393a08a4e95 /Lib | |
parent | d2e423114cfb5028515c73e01b4955b39a1ee7db (diff) | |
download | cpython-360f14a493d8461d42dc646be40b4b6fb20db57a.zip cpython-360f14a493d8461d42dc646be40b4b6fb20db57a.tar.gz cpython-360f14a493d8461d42dc646be40b4b6fb20db57a.tar.bz2 |
gh-120659: Skip `test_freethreading` with GIL (#120660)
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_free_threading/__init__.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_free_threading/__init__.py b/Lib/test/test_free_threading/__init__.py index 9a89d27..34e1ad3 100644 --- a/Lib/test/test_free_threading/__init__.py +++ b/Lib/test/test_free_threading/__init__.py @@ -1,7 +1,11 @@ import os +import unittest from test import support +if not support.Py_GIL_DISABLED: + raise unittest.SkipTest("GIL enabled") + def load_tests(*args): return support.load_package_tests(os.path.dirname(__file__), *args) |