Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ error
Method
error
Lib/test/test_urllib2.py:280–281 ·
view source on GitHub ↗
(self, proto, *args)
Source
from the content-addressed store, hash-verified
278
self.req, self.data, self.timeout = req, data, timeout
279
280
def
error(self, proto, *args):
281
self.proto, self.args = proto, args
282
283
284
class
MockFile:
Callers
15
test_message_and_error
Method · 0.45
handle
Method · 0.45
http_open
Method · 0.45
test_flat
Method · 0.45
test_nested_explicit
Method · 0.45
test_nested_inherited
Method · 0.45
test_config0_ok
Method · 0.45
test_config0_using_cp_ok
Method · 0.45
test_config1_ok
Method · 0.45
test_config7_ok
Method · 0.45
test_output
Method · 0.45
test_noserver
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected