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

Method test_temp2

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

Source from the content-addressed store, hash-verified

214 assert_equal(tsi.get_runtime_lib_dirs(), [self._dir1])
215
216 def test_temp2(self):
217 # Read in all information in the temp2 block
218 tsi = self.c_temp2
219 assert_equal(tsi.get_lib_dirs(), [self._dir2])
220 assert_equal(tsi.get_libraries(), [self._lib2])
221 # Now from rpath and not runtime_library_dirs
222 assert_equal(tsi.get_runtime_lib_dirs(key='rpath'), [self._dir2])
223 extra = tsi.calc_extra_info()
224 assert_equal(extra['extra_link_args'], ['-Wl,-rpath=' + self._lib2])
225
226 def test_duplicate_options(self):
227 # Ensure that duplicates are raising an AliasedOptionError

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