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

Method setup_class

numpy/core/tests/test_cpu_features.py:151–156  ·  view source on GitHub ↗
(self, tmp_path_factory)

Source from the content-addressed store, hash-verified

149
150 @pytest.fixture(autouse=True)
151 def setup_class(self, tmp_path_factory):
152 file = tmp_path_factory.mktemp("runtime_test_script")
153 file /= "_runtime_detect.py"
154 file.write_text(self.SCRIPT)
155 self.file = file
156 return
157
158 def _run(self):
159 return subprocess.run(

Callers

nothing calls this directly

Calls 1

write_textMethod · 0.45

Tested by

no test coverage detected