diff options
author | Christoph Gohlke <cgohlke@uci.edu> | 2015-08-01 14:55:23 -0700 |
---|---|---|
committer | Christoph Gohlke <cgohlke@uci.edu> | 2015-08-01 14:55:23 -0700 |
commit | 3fd21ede4c49dbdeccf8f31b95daf7bd993dec5f (patch) | |
tree | 94804e8188ca143b8ce4ca78568079ae281f0d2e /numpy/distutils/tests/test_system_info.py | |
parent | 28f74f13d855080887f021dbb820e237ca46295c (diff) | |
download | numpy-3fd21ede4c49dbdeccf8f31b95daf7bd993dec5f.tar.gz |
TST: alternatively assert existence of msvc .obj files
Fixes test_system_info.TestSystemInfoReading.test_compile1 failure on Windows
Diffstat (limited to 'numpy/distutils/tests/test_system_info.py')
-rw-r--r-- | numpy/distutils/tests/test_system_info.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/distutils/tests/test_system_info.py b/numpy/distutils/tests/test_system_info.py index 205f53d27..16cb6ecf7 100644 --- a/numpy/distutils/tests/test_system_info.py +++ b/numpy/distutils/tests/test_system_info.py @@ -179,7 +179,8 @@ class TestSystemInfoReading(TestCase): os.chdir(self._dir1) c.compile([os.path.basename(self._src1)], output_dir=self._dir1) # Ensure that the object exists - assert_(os.path.isfile(self._src1.replace('.c', '.o'))) + assert_(os.path.isfile(self._src1.replace('.c', '.o')) or + os.path.isfile(self._src1.replace('.c', '.obj'))) os.chdir(previousDir) except OSError: pass |