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

Method test_InvalidFile

numpy/lib/tests/test__datasource.py:179–182  ·  view source on GitHub ↗
(self, tmp_path)

Source from the content-addressed store, hash-verified

177 rmtree(localdir)
178
179 def test_InvalidFile(self, tmp_path):
180 ds = datasource.DataSource(tmp_path)
181 tmpfile = invalid_textfile(tmp_path)
182 assert_equal(ds.exists(tmpfile), False)
183
184
185class TestDataSourceAbspath:

Callers

nothing calls this directly

Calls 3

existsMethod · 0.95
assert_equalFunction · 0.90
invalid_textfileFunction · 0.85

Tested by

no test coverage detected