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

Method _run

numpy/_core/tests/test_cpu_features.py:168–173  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

166 self.file = file
167
168 def _run(self):
169 return subprocess.run(
170 [sys.executable, self.file],
171 env=self.env,
172 **self.SUBPROCESS_ARGS,
173 )
174
175 # Helper function mimicking pytest.raises for subprocess call
176 def _expect_error(

Callers 2

_expect_errorMethod · 0.95

Calls 1

runMethod · 0.45

Tested by

no test coverage detected