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

Function hello_world_f90

numpy/f2py/tests/test_f2py2e.py:58–63  ·  view source on GitHub ↗

Generates a single f90 file for testing

(tmpdir_factory)

Source from the content-addressed store, hash-verified

56
57@pytest.fixture(scope="session")
58def hello_world_f90(tmpdir_factory):
59 """Generates a single f90 file for testing"""
60 fdat = util.getpath("tests", "src", "cli", "hiworld.f90").read_text()
61 fn = tmpdir_factory.getbasetemp() / "hello.f90"
62 fn.write_text(fdat, encoding="ascii")
63 return fn
64
65
66@pytest.fixture(scope="session")

Callers

nothing calls this directly

Calls 1

write_textMethod · 0.45

Tested by

no test coverage detected