mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00

gh-120659: Skip `test_freethreading` with GIL (GH-120660)
(cherry picked from commit 360f14a493
)
Co-authored-by: Nice Zombies <nineteendo19d0@gmail.com>
11 lines
225 B
Python
11 lines
225 B
Python
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)
|