Thanks to visit codestin.com Credit goes to github.com
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 f869bcf commit 1035fe0Copy full SHA for 1035fe0
1 file changed
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