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

Function test_include_path

numpy/f2py/tests/test_regression.py:62–66  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

60
61
62def test_include_path():
63 incdir = np.f2py.get_include()
64 fnames_in_dir = os.listdir(incdir)
65 for fname in ("fortranobject.c", "fortranobject.h"):
66 assert fname in fnames_in_dir
67
68
69class TestModuleAndSubroutine(util.F2PyTest):

Callers

nothing calls this directly

Calls 1

listdirMethod · 0.80

Tested by

no test coverage detected