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

Method close

Lib/test/test_urllib.py:59–62  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

57 return io.BytesIO.readline(self, length)
58
59 def close(self):
60 self.io_refs -= 1
61 if self.io_refs == 0:
62 io.BytesIO.close(self)
63
64 class FakeHTTPConnection(http.client.HTTPConnection):
65

Callers 11

setUpMethod · 0.45
tearDownMethod · 0.45
test_closeMethod · 0.45
test_read_bogusMethod · 0.45
test_invalid_redirectMethod · 0.45
test_file_notexistsMethod · 0.45
test_infoMethod · 0.45
setUpMethod · 0.45
createNewTempFileMethod · 0.45
test_copyMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected