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.
support.skipUnless()
1 parent 89cf80d commit 1071cb9Copy full SHA for 1071cb9
Lib/test/test_free_threading/__init__.py
@@ -1,8 +1,8 @@
1
-from test import support
+import os
2
3
+from test import support
4
-if support.Py_GIL_DISABLED:
5
- import os
6
7
- def load_tests(*args):
8
- return support.load_package_tests(os.path.dirname(__file__), *args)
+@support.skipUnless(support.Py_GIL_DISABLED, "GIL enabled")
+def load_tests(*args):
+ return support.load_package_tests(os.path.dirname(__file__), *args)
0 commit comments