MCPcopy Create free account
hub / github.com/numpy/numpy / test_pep338

Function test_pep338

numpy/tests/test_scripts.py:45–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

43
44@pytest.mark.skipif(IS_WASM, reason="Cannot start subprocess")
45def test_pep338():
46 stdout = subprocess.check_output([sys.executable, '-mnumpy.f2py', '-v'])
47 assert_equal(stdout.strip(), np.__version__.encode('ascii'))

Callers

nothing calls this directly

Calls 4

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

Tested by

no test coverage detected