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

Method test_retrlines

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

Source from the content-addressed store, hash-verified

607 RETR_DATA[rest:].encode(self.client.encoding))
608
609 def test_retrlines(self):
610 received = []
611 self.client.retrlines('retr', received.append)
612 self.check_data(''.join(received), RETR_DATA.replace('\r\n', ''))
613
614 def test_storbinary(self):
615 f = io.BytesIO(RETR_DATA.encode(self.client.encoding))

Callers 1

test_encoding_paramMethod · 0.95

Calls 4

check_dataMethod · 0.95
retrlinesMethod · 0.80
joinMethod · 0.45
replaceMethod · 0.45

Tested by

no test coverage detected