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

Method test_retrbinary

Lib/test/test_ftplib.py:596–600  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

594 self.client.abort()
595
596 def test_retrbinary(self):
597 received = []
598 self.client.retrbinary('retr', received.append)
599 self.check_data(b''.join(received),
600 RETR_DATA.encode(self.client.encoding))
601
602 def test_retrbinary_rest(self):
603 for rest in (0, 10, 20):

Callers 1

test_encoding_paramMethod · 0.95

Calls 4

check_dataMethod · 0.95
retrbinaryMethod · 0.80
joinMethod · 0.45
encodeMethod · 0.45

Tested by

no test coverage detected