(capfd, gh23598_warn, monkeypatch)
| 143 | |
| 144 | |
| 145 | def test_gh23598_warn(capfd, gh23598_warn, monkeypatch): |
| 146 | foutl = get_io_paths(gh23598_warn, mname="test") |
| 147 | ipath = foutl.f90inp |
| 148 | monkeypatch.setattr( |
| 149 | sys, "argv", |
| 150 | f'f2py {ipath} -m test'.split()) |
| 151 | |
| 152 | with util.switchdir(ipath.parent): |
| 153 | f2pycli() # Generate files |
| 154 | wrapper = foutl.wrap90.read_text() |
| 155 | assert "intproductf2pywrap, intpr" not in wrapper |
| 156 | |
| 157 | |
| 158 | def test_gen_pyf(capfd, hello_world_f90, monkeypatch): |
nothing calls this directly
no test coverage detected