MCPcopy Index your code
hub / github.com/python/cpython / TestHandler

Class TestHandler

Lib/test/test_wsgiref.py:537–541  ·  view source on GitHub ↗

Simple handler subclass for testing BaseHandler, w/error passthru

Source from the content-addressed store, hash-verified

535 )
536
537class TestHandler(ErrorHandler):
538 """Simple handler subclass for testing BaseHandler, w/error passthru"""
539
540 def handle_error(self):
541 raise # for testing, we want to see what's happening
542
543
544class HandlerTests(TestCase):

Callers 5

testEnvironMethod · 0.70
testSchemeMethod · 0.70
testContentLengthMethod · 0.70
testHeaderFormatsMethod · 0.70
testBytesDataMethod · 0.70

Calls

no outgoing calls

Tested by 5

testEnvironMethod · 0.56
testSchemeMethod · 0.56
testContentLengthMethod · 0.56
testHeaderFormatsMethod · 0.56
testBytesDataMethod · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…