MCPcopy Index your code
hub / github.com/numpy/numpy / test_gh23598_warn

Function test_gh23598_warn

numpy/f2py/tests/test_f2py2e.py:167–177  ·  view source on GitHub ↗
(capfd, gh23598_warn, monkeypatch)

Source from the content-addressed store, hash-verified

165
166
167def 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
180def test_gen_pyf(capfd, hello_world_f90, monkeypatch):

Callers

nothing calls this directly

Calls 2

get_io_pathsFunction · 0.85
splitMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…