Generates a single f77 file for testing
(tmpdir_factory)
| 83 | |
| 84 | @pytest.fixture(scope="session") |
| 85 | def 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") |
nothing calls this directly
no test coverage detected