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

Method test_ValidFile

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

Source from the content-addressed store, hash-verified

273
274class TestRepositoryExists:
275 def test_ValidFile(self, tmp_path):
276 # Create local temp file
277 repos = datasource.Repository(valid_baseurl(), tmp_path)
278 tmpfile = valid_textfile(tmp_path)
279 assert_(repos.exists(tmpfile))
280
281 def test_InvalidFile(self, tmp_path):
282 repos = datasource.Repository(valid_baseurl(), tmp_path)

Callers

nothing calls this directly

Calls 4

existsMethod · 0.95
assert_Function · 0.90
valid_baseurlFunction · 0.85
valid_textfileFunction · 0.85

Tested by

no test coverage detected