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

Function test_f2py

numpy/tests/test_scripts.py:36–39  ·  view source on GitHub ↗
(f2py_cmd)

Source from the content-addressed store, hash-verified

34@pytest.mark.xfail(reason="Test is unreliable")
35@pytest.mark.parametrize('f2py_cmd', find_f2py_commands())
36def test_f2py(f2py_cmd):
37 # test that we can run f2py script
38 stdout = subprocess.check_output([f2py_cmd, '-v'])
39 assert_equal(stdout.strip(), np.__version__.encode('ascii'))
40
41
42@pytest.mark.skipif(IS_WASM, reason="Cannot start subprocess")

Callers

nothing calls this directly

Calls 4

assert_equalFunction · 0.90
check_outputMethod · 0.80
stripMethod · 0.80
encodeMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…