Generates a single f90 file for testing
(tmpdir_factory)
| 120 | |
| 121 | @pytest.fixture(scope="session") |
| 122 | def f2cmap_f90(tmpdir_factory): |
| 123 | """Generates a single f90 file for testing""" |
| 124 | fdat = util.getpath("tests", "src", "f2cmap", "isoFortranEnvMap.f90").read_text() |
| 125 | f2cmap = util.getpath("tests", "src", "f2cmap", ".f2py_f2cmap").read_text() |
| 126 | fn = tmpdir_factory.getbasetemp() / "f2cmap.f90" |
| 127 | fmap = tmpdir_factory.getbasetemp() / "mapfile" |
| 128 | fn.write_text(fdat, encoding="ascii") |
| 129 | fmap.write_text(f2cmap, encoding="ascii") |
| 130 | return fn |
| 131 | |
| 132 | ######### |
| 133 | # Tests # |
nothing calls this directly
no test coverage detected
searching dependent graphs…