diff options
author | Christoph Gohlke <cgohlke@uci.edu> | 2015-08-01 15:49:57 -0700 |
---|---|---|
committer | Christoph Gohlke <cgohlke@uci.edu> | 2015-08-01 15:49:57 -0700 |
commit | 093bf44f8d4b7550e9f6880e9d7882ed153c6d5a (patch) | |
tree | 62bfcbe333355b99f0ac93ed915560db862af512 /numpy/distutils/tests | |
parent | 3fd21ede4c49dbdeccf8f31b95daf7bd993dec5f (diff) | |
download | numpy-093bf44f8d4b7550e9f6880e9d7882ed153c6d5a.tar.gz |
TST: skip gcc specific test when using msvc
Diffstat (limited to 'numpy/distutils/tests')
-rw-r--r-- | numpy/distutils/tests/test_system_info.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/numpy/distutils/tests/test_system_info.py b/numpy/distutils/tests/test_system_info.py index 16cb6ecf7..2019b8e58 100644 --- a/numpy/distutils/tests/test_system_info.py +++ b/numpy/distutils/tests/test_system_info.py @@ -6,6 +6,7 @@ from tempfile import mkstemp, mkdtemp from numpy.distutils import ccompiler from numpy.testing import TestCase, run_module_suite, assert_, assert_equal +from numpy.testing.decorators import skipif from numpy.distutils.system_info import system_info, ConfigParser from numpy.distutils.system_info import default_lib_dirs, default_include_dirs @@ -185,6 +186,7 @@ class TestSystemInfoReading(TestCase): except OSError: pass + @skipif('msvc' in repr(ccompiler.new_compiler())) def test_compile2(self): # Compile source and link the second source tsi = self.c_temp2 |