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

Method test_InvalidFile

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

Source from the content-addressed store, hash-verified

279 assert_(repos.exists(tmpfile))
280
281 def test_InvalidFile(self, tmp_path):
282 repos = datasource.Repository(valid_baseurl(), tmp_path)
283 tmpfile = invalid_textfile(tmp_path)
284 assert_equal(repos.exists(tmpfile), False)
285
286 def test_RemoveHTTPFile(self, tmp_path):
287 repos = datasource.Repository(valid_baseurl(), tmp_path)

Callers

nothing calls this directly

Calls 4

existsMethod · 0.95
assert_equalFunction · 0.90
valid_baseurlFunction · 0.85
invalid_textfileFunction · 0.85

Tested by

no test coverage detected