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

Method _run

numpy/core/tests/test_cpu_features.py:158–163  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

156 return
157
158 def _run(self):
159 return subprocess.run(
160 [sys.executable, self.file],
161 env=self.env,
162 **self.SUBPROCESS_ARGS,
163 )
164
165 # Helper function mimicing pytest.raises for subprocess call
166 def _expect_error(

Callers 2

_expect_errorMethod · 0.95

Calls 1

runMethod · 0.45

Tested by

no test coverage detected