Skip to content

Commit

Permalink
gh-110119: Temporarily skip test_cppext on --disable-gil builds.
Browse files Browse the repository at this point in the history
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 committed Sep 29, 2023
1 parent 3439cb0 commit d071615
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 d071615

Please sign in to comment.