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

Method check_data

Lib/test/test_ftplib.py:508–510  ·  view source on GitHub ↗
(self, received, expected)

Source from the content-addressed store, hash-verified

506 asyncore.close_all(ignore_all=True)
507
508 def check_data(self, received, expected):
509 self.assertEqual(len(received), len(expected))
510 self.assertEqual(received, expected)
511
512 def test_getwelcome(self):
513 self.assertEqual(self.client.getwelcome(), '220 welcome')

Callers 6

test_retrbinaryMethod · 0.95
test_retrbinary_restMethod · 0.95
test_retrlinesMethod · 0.95
test_storbinaryMethod · 0.95
test_storlinesMethod · 0.95
test_encoding_paramMethod · 0.95

Calls 1

assertEqualMethod · 0.45

Tested by

no test coverage detected