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

Method setUp

Lib/test/test_urllib2net.py:130–134  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

128
129class OtherNetworkTests(unittest.TestCase):
130 def setUp(self):
131 if 0: # for debugging
132 import logging
133 logger = logging.getLogger("test_urllib2net")
134 logger.addHandler(logging.StreamHandler())
135
136 # XXX The rest of these tests aren't very good -- they don't check much.
137 # They do sometimes catch some major disasters, though.

Callers

nothing calls this directly

Calls 2

getLoggerMethod · 0.80
addHandlerMethod · 0.80

Tested by

no test coverage detected