]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-120659: Skip `test_freethreading` with GIL (#120660)
authorNice Zombies <nineteendo19d0@gmail.com>
Tue, 18 Jun 2024 13:56:20 +0000 (15:56 +0200)
committerGitHub <noreply@github.com>
Tue, 18 Jun 2024 13:56:20 +0000 (15:56 +0200)
Lib/test/test_free_threading/__init__.py

index 9a89d27ba9f979d0a5ea25d7e10c3c6a5aab7d28..34e1ad30e11097e409d58e677b37c5965ad4313c 100644 (file)
@@ -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)