Skip to content

Commit

Permalink
pythongh-120659: Skip test_freethreading with GIL (python#120660)
Browse files Browse the repository at this point in the history
  • Loading branch information
nineteendo authored Jun 18, 2024
1 parent d2e4231 commit 360f14a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Lib/test/test_free_threading/__init__.py
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit 360f14a

Please sign in to comment.