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

Method test_simple_lflags

numpy/distutils/tests/test_npy_pkg_config.py:77–84  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

75 assert_(d['macros'] == ['FOO'])
76
77 def test_simple_lflags(self):
78 d = parse_flags("-L/usr/lib -lfoo -L/usr/lib -lbar")
79 assert_(d['library_dirs'] == ['/usr/lib', '/usr/lib'])
80 assert_(d['libraries'] == ['foo', 'bar'])
81
82 d = parse_flags("-L /usr/lib -lfoo -L/usr/lib -lbar")
83 assert_(d['library_dirs'] == ['/usr/lib', '/usr/lib'])
84 assert_(d['libraries'] == ['foo', 'bar'])

Callers

nothing calls this directly

Calls 2

parse_flagsFunction · 0.90
assert_Function · 0.90

Tested by

no test coverage detected