Skip to content

Commit

Permalink
pythongh-110119: Temporarily skip test_cppext on --disable-gil builds. (
Browse files Browse the repository at this point in the history
python#110123)

The current version of pip does not support "t" in the ABI flags. Skip
the test in `--disable-gil` builds until we can update pip.
  • Loading branch information
colesbury authored Sep 29, 2023
1 parent 5ae6c6d commit 2973970
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Lib/test/test_cppext/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
SETUP = os.path.join(os.path.dirname(__file__), 'setup.py')


# gh-110119: pip does not currently support 't' in the ABI flag use by
# --disable-gil builds. Once it does, we can remove this skip.
@unittest.skipIf(sysconfig.get_config_var('Py_NOGIL') == 1,
'test does not work with --disable-gil')
@support.requires_subprocess()
class TestCPPExt(unittest.TestCase):
@support.requires_resource('cpu')
Expand Down

0 comments on commit 2973970

Please sign in to comment.