Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ unfakehttp
Method
unfakehttp
Lib/test/test_urllib.py:91–92 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
89
http.client.HTTPConnection = fake_http_class
90
91
def
unfakehttp(self):
92
http.client.HTTPConnection = self._connection_class
93
94
95
class
urlopen_FileTests(unittest.TestCase):
Callers
13
check_read
Method · 0.80
test_url_fragment
Method · 0.80
test_willclose
Method · 0.80
test_url_path_with_control_char_rejected
Method · 0.80
test_url_path_with_newline_header_injection_rejected
Method · 0.80
test_url_host_with_control_char_rejected
Method · 0.80
test_url_host_with_newline_header_injection_rejected
Method · 0.80
test_read_bogus
Method · 0.80
test_invalid_redirect
Method · 0.80
test_redirect_limit_independent
Method · 0.80
test_empty_socket
Method · 0.80
test_short_content_raises_ContentTooShortError
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected