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

Method test_retrbinary_rest

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

Source from the content-addressed store, hash-verified

600 RETR_DATA.encode(self.client.encoding))
601
602 def test_retrbinary_rest(self):
603 for rest in (0, 10, 20):
604 received = []
605 self.client.retrbinary('retr', received.append, rest=rest)
606 self.check_data(b''.join(received),
607 RETR_DATA[rest:].encode(self.client.encoding))
608
609 def test_retrlines(self):
610 received = []

Callers

nothing calls this directly

Calls 4

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

Tested by

no test coverage detected