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

Method test_makeport

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

Source from the content-addressed store, hash-verified

881 self.assertEqual(self.client.af, socket.AF_INET6)
882
883 def test_makeport(self):
884 with self.client.makeport():
885 self.assertEqual(self.server.handler_instance.last_received_cmd,
886 'eprt')
887
888 def test_makepasv(self):
889 host, port = self.client.makepasv()

Callers

nothing calls this directly

Calls 2

makeportMethod · 0.80
assertEqualMethod · 0.45

Tested by

no test coverage detected