MCPcopy Index your code
hub / github.com/RustPython/RustPython / get

Method get

Lib/test/test_xmlrpc.py:1340–1344  ·  view source on GitHub ↗
(self, key, failobj=None)

Source from the content-addressed store, hash-verified

1338# in order to test the _send_traceback_header flag on the server
1339class FailingMessageClass(http.client.HTTPMessage):
1340 def get(self, key, failobj=None):
1341 key = key.lower()
1342 if key == 'content-length':
1343 return 'I am broken'
1344 return super().get(key, failobj)
1345
1346
1347class FailingServerTestCase(unittest.TestCase):

Callers 5

do_POSTMethod · 0.45
is_unavailable_exceptionFunction · 0.45
test_fail_no_infoMethod · 0.45
test_fail_with_infoMethod · 0.45

Calls 2

superClass · 0.85
lowerMethod · 0.45

Tested by

no test coverage detected