(capfd, gh23598_warn, monkeypatch)
| 165 | |
| 166 | |
| 167 | def test_gh23598_warn(capfd, gh23598_warn, monkeypatch): |
| 168 | foutl = get_io_paths(gh23598_warn, mname="test") |
| 169 | ipath = foutl.f90inp |
| 170 | monkeypatch.setattr( |
| 171 | sys, "argv", |
| 172 | f'f2py {ipath} -m test'.split()) |
| 173 | |
| 174 | with util.switchdir(ipath.parent): |
| 175 | f2pycli() # Generate files |
| 176 | wrapper = foutl.wrap90.read_text() |
| 177 | assert "intproductf2pywrap, intpr" not in wrapper |
| 178 | |
| 179 | |
| 180 | def test_gen_pyf(capfd, hello_world_f90, monkeypatch): |
nothing calls this directly
no test coverage detected
searching dependent graphs…