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

Method tearDown

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

Source from the content-addressed store, hash-verified

121 self.server_started.wait()
122
123 def tearDown(self):
124 self.thread.stop()
125 self.thread = None
126 os.environ.__exit__()
127 threading_helper.threading_cleanup(*self._threads)
128
129 def request(self, uri, method='GET', body=None, headers={}):
130 self.connection = http.client.HTTPConnection(self.HOST, self.PORT)

Callers 2

tearDownMethod · 0.45
tearDownMethod · 0.45

Calls 2

stopMethod · 0.45
__exit__Method · 0.45

Tested by

no test coverage detected