Skip to content

Commit 360f14a

Browse files
authored
pythongh-120659: Skip test_freethreading with GIL (python#120660)
1 parent d2e4231 commit 360f14a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
import os
2+
import unittest
23

34
from test import support
45

56

7+
if not support.Py_GIL_DISABLED:
8+
raise unittest.SkipTest("GIL enabled")
9+
610
def load_tests(*args):
711
return support.load_package_tests(os.path.dirname(__file__), *args)

0 commit comments

Comments
 (0)