Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ test_ValidHTTP
Method
test_ValidHTTP
numpy/lib/tests/test__datasource.py:98–101 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
96
del self.ds
97
98
def
test_ValidHTTP(self):
99
fh = self.ds.open(valid_httpurl())
100
assert_(fh)
101
fh.close()
102
103
def
test_InvalidHTTP(self):
104
url = invalid_httpurl()
Callers
nothing calls this directly
Calls
4
assert_
Function · 0.90
valid_httpurl
Function · 0.85
open
Method · 0.45
close
Method · 0.45
Tested by
no test coverage detected