mirror of https://github.com/python/cpython
gh-110119: Temporarily skip test_cppext on --disable-gil builds. (#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.
This commit is contained in:
parent
5ae6c6d053
commit
2973970af8
|
@ -14,6 +14,10 @@ SOURCE = os.path.join(os.path.dirname(__file__), 'extension.cpp')
|
|||
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')
|
||||
|
|
Loading…
Reference in New Issue