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

Function retreal_f77

numpy/f2py/tests/test_f2py2e.py:94–99  ·  view source on GitHub ↗

Generates a single f77 file for testing

(tmpdir_factory)

Source from the content-addressed store, hash-verified

92
93@pytest.fixture(scope="session")
94def retreal_f77(tmpdir_factory):
95 """Generates a single f77 file for testing"""
96 fdat = util.getpath("tests", "src", "return_real", "foo77.f").read_text()
97 fn = tmpdir_factory.getbasetemp() / "foo.f"
98 fn.write_text(fdat, encoding="ascii")
99 return fn
100
101@pytest.fixture(scope="session")
102def f2cmap_f90(tmpdir_factory):

Callers

nothing calls this directly

Calls 1

write_textMethod · 0.45

Tested by

no test coverage detected