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

Function hello_world_f77

numpy/f2py/tests/test_f2py2e.py:85–90  ·  view source on GitHub ↗

Generates a single f77 file for testing

(tmpdir_factory)

Source from the content-addressed store, hash-verified

83
84@pytest.fixture(scope="session")
85def hello_world_f77(tmpdir_factory):
86 """Generates a single f77 file for testing"""
87 fdat = util.getpath("tests", "src", "cli", "hi77.f").read_text()
88 fn = tmpdir_factory.getbasetemp() / "hello.f"
89 fn.write_text(fdat, encoding="ascii")
90 return fn
91
92
93@pytest.fixture(scope="session")

Callers

nothing calls this directly

Calls 1

write_textMethod · 0.45

Tested by

no test coverage detected