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

Method test_InvalidHTTP

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

Source from the content-addressed store, hash-verified

162 assert_(ds.exists(valid_httpurl()))
163
164 def test_InvalidHTTP(self, tmp_path):
165 ds = datasource.DataSource(tmp_path)
166 assert_equal(ds.exists(invalid_httpurl()), False)
167
168 def test_ValidFile(self, tmp_path):
169 # Test valid file in destpath

Callers

nothing calls this directly

Calls 3

existsMethod · 0.95
assert_equalFunction · 0.90
invalid_httpurlFunction · 0.85

Tested by

no test coverage detected