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

Method test_ValidHTTP

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

Source from the content-addressed store, hash-verified

90
91class TestDataSourceOpen:
92 def test_ValidHTTP(self, tmp_path):
93 ds = datasource.DataSource(tmp_path)
94 fh = ds.open(valid_httpurl())
95 assert_(fh)
96 fh.close()
97
98 def test_InvalidHTTP(self, tmp_path):
99 ds = datasource.DataSource(tmp_path)

Callers

nothing calls this directly

Calls 4

openMethod · 0.95
assert_Function · 0.90
valid_httpurlFunction · 0.85
closeMethod · 0.45

Tested by

no test coverage detected