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

Method check_numpyconfig

numpy/tests/test_configtool.py:22–25  ·  view source on GitHub ↗
(self, arg)

Source from the content-addressed store, hash-verified

20 reason="wasm interpreter cannot start subprocess")
21class TestNumpyConfig:
22 def check_numpyconfig(self, arg):
23 p = subprocess.run(['numpy-config', arg], capture_output=True, text=True)
24 p.check_returncode()
25 return p.stdout.strip()
26
27 def test_configtool_version(self):
28 stdout = self.check_numpyconfig('--version')

Callers 3

Calls 2

stripMethod · 0.80
runMethod · 0.45

Tested by

no test coverage detected