File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 4
4
import sys
5
5
import unittest
6
6
import subprocess
7
+ import sysconfig
7
8
from test import support
8
9
from test .support import os_helper
9
10
@@ -25,6 +26,11 @@ def test_build_cpp03(self):
25
26
# With MSVC, the linker fails with: cannot open file 'python311.lib'
26
27
# https://github.com/python/cpython/pull/32175#issuecomment-1111175897
27
28
@unittest .skipIf (MS_WINDOWS , 'test fails on Windows' )
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' ),
33
+ 'test does not work with analyzing builds' )
28
34
# the test uses venv+pip: skip if it's not available
29
35
@support .requires_venv_with_pip ()
30
36
def check_build (self , std_cpp03 , extension_name ):
You can’t perform that action at this time.
0 commit comments