We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 713bf7d commit 021c03dCopy full SHA for 021c03d
Lib/test/test_cppext.py
@@ -29,7 +29,7 @@ def test_build_cpp03(self):
29
# Building and running an extension in clang sanitizing mode is not
30
# straightforward
31
@unittest.skipIf(
32
- '-fsanitize' in sysconfig.get_config_var('PY_CFLAGS'),
+ '-fsanitize' in (sysconfig.get_config_var('PY_CFLAGS') or ''),
33
'test does not work with analyzing builds')
34
# the test uses venv+pip: skip if it's not available
35
@support.requires_venv_with_pip()
0 commit comments