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

Function test_compile_from_strings

numpy/f2py/tests/test_compile_function.py:111–117  ·  view source on GitHub ↗
(tmpdir, fsource)

Source from the content-addressed store, hash-verified

109 ],
110)
111def test_compile_from_strings(tmpdir, fsource):
112 # Make sure we can compile str and bytes gh-12796
113 with util.switchdir(tmpdir):
114 ret_val = numpy.f2py.compile(fsource,
115 modulename="test_compile_from_strings",
116 extension=".f90")
117 assert ret_val == 0

Callers

nothing calls this directly

Calls 1

compileMethod · 0.45

Tested by

no test coverage detected