gh-120659: Skip `test_freethreading` with GIL (#120660)

This commit is contained in:
Nice Zombies 2024-06-18 15:56:20 +02:00 committed by GitHub
parent d2e423114c
commit 360f14a493
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -1,7 +1,11 @@
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)