Skip to content

Commit

Permalink
TST: skip gcc specific test when using msvc
Browse files Browse the repository at this point in the history
  • Loading branch information
cgohlke committed Aug 1, 2015
1 parent 3fd21ed commit 093bf44
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions numpy/distutils/tests/test_system_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

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

Expand Down Expand Up @@ -185,6 +186,7 @@ def test_compile1(self):
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
Expand Down

0 comments on commit 093bf44

Please sign in to comment.