8000
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.
test_interpreters
1 parent 1ce5984 commit 07145ddCopy full SHA for 07145dd
Lib/test/test_interpreters/__init__.py
@@ -1,6 +1,9 @@
1
import os
2
from test.support import load_package_tests, Py_GIL_DISABLED
3
+import unittest
4
-if not Py_GIL_DISABLED:
5
- def load_tests(*args):
6
- return load_package_tests(os.path.dirname(__file__), *args)
+if Py_GIL_DISABLED:
+ raise unittest.SkipTest("GIL disabled")
7
+
8
+def load_tests(*args):
9
+ return load_package_tests(os.path.dirname(__file__), *args)
0 commit comments