diff options
| -rw-r--r-- | tests/test_config_cmd.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test_config_cmd.py b/tests/test_config_cmd.py index b735fd33..8bd2c942 100644 --- a/tests/test_config_cmd.py +++ b/tests/test_config_cmd.py @@ -47,8 +47,7 @@ class ConfigTestCase(support.LoggingSilencer, cmd = config(dist) cmd._check_compiler() compiler = cmd.compiler - is_xlc = shutil.which(compiler.preprocessor[0]).startswith("/usr/vac") - if is_xlc: + if sys.platform[:3] == "aix" and "xlc" in compiler.preprocessor[0].lower(): self.skipTest('xlc: The -E option overrides the -P, -o, and -qsyntaxonly options') # simple pattern searches |
