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

Method setUp

Lib/test/test_httpservers.py:184–187  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

182 self.send_error(int(self.path[1:]))
183
184 def setUp(self):
185 BaseTestCase.setUp(self)
186 self.con = http.client.HTTPConnection(self.HOST, self.PORT)
187 self.con.connect()
188
189 def test_command(self):
190 self.con.request('GET', '/')

Callers

nothing calls this directly

Calls 2

setUpMethod · 0.45
connectMethod · 0.45

Tested by

no test coverage detected