MCPcopy Create free account
hub / github.com/numpy/numpy / test_all

Method test_all

numpy/distutils/tests/test_system_info.py:200–207  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

198 pass
199
200 def test_all(self):
201 # Read in all information in the ALL block
202 tsi = self.c_default
203 assert_equal(tsi.get_lib_dirs(), [self._dir1, self._dir2])
204 assert_equal(tsi.get_libraries(), [self._lib1, self._lib2])
205 assert_equal(tsi.get_runtime_lib_dirs(), [self._dir1])
206 extra = tsi.calc_extra_info()
207 assert_equal(extra['extra_compile_args'], ['-I/fake/directory', '-I/path with/spaces', '-Os'])
208
209 def test_temp1(self):
210 # Read in all information in the temp1 block

Callers

nothing calls this directly

Calls 5

assert_equalFunction · 0.90
get_lib_dirsMethod · 0.80
get_runtime_lib_dirsMethod · 0.80
calc_extra_infoMethod · 0.80
get_librariesMethod · 0.45

Tested by

no test coverage detected