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

Method setup_method

numpy/lib/tests/test__datasource.py:254–256  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

252
253class TestRepositoryAbspath:
254 def setup_method(self):
255 self.tmpdir = os.path.abspath(mkdtemp())
256 self.repos = datasource.Repository(valid_baseurl(), self.tmpdir)
257
258 def teardown_method(self):
259 rmtree(self.tmpdir)

Callers

nothing calls this directly

Calls 2

valid_baseurlFunction · 0.85
abspathMethod · 0.45

Tested by

no test coverage detected