Skip to content

Commit

Permalink
pythongh-120659: Skip test_freethreading with GIL (pythonGH-120660)
Browse files Browse the repository at this point in the history
(cherry picked from commit 360f14a)

Co-authored-by: Nice Zombies <nineteendo19d0@gmail.com>
  • Loading branch information
nineteendo authored and miss-islington committed Jun 18, 2024
1 parent 36b0052 commit 1eec326
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 1eec326

Please sign in to comment.