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

Method setUp

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

setUpMethod · 0.45
connectMethod · 0.45

Tested by

no test coverage detected