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