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

Method test_InvalidFile

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

Source from the content-addressed store, hash-verified

298 assert_(self.repos.exists(tmpfile))
299
300 def test_InvalidFile(self):
301 tmpfile = invalid_textfile(self.tmpdir)
302 assert_equal(self.repos.exists(tmpfile), False)
303
304 def test_RemoveHTTPFile(self):
305 assert_(self.repos.exists(valid_httpurl()))

Callers

nothing calls this directly

Calls 3

assert_equalFunction · 0.90
invalid_textfileFunction · 0.85
existsMethod · 0.45

Tested by

no test coverage detected