MCPcopy
hub / github.com/django/django / close

Method close

tests/servers/test_basehttp.py:20–23  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

18
19class UnclosableBytesIO(BytesIO):
20 def close(self):
21 # WSGIRequestHandler closes the output file; we need to make this a
22 # no-op so we can still read its contents.
23 pass
24
25
26class WSGIRequestHandlerTestCase(SimpleTestCase):

Callers 8

tearDownMethod · 0.45
run_select_for_updateMethod · 0.45
rawMethod · 0.45
test_404Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected