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

Method setup_method

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

Source from the content-addressed store, hash-verified

187
188class TestDataSourceAbspath:
189 def setup_method(self):
190 self.tmpdir = os.path.abspath(mkdtemp())
191 self.ds = datasource.DataSource(self.tmpdir)
192
193 def teardown_method(self):
194 rmtree(self.tmpdir)

Callers

nothing calls this directly

Calls 1

abspathMethod · 0.45

Tested by

no test coverage detected