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

Method test_ccc

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

Source from the content-addressed store, hash-verified

1006 self.assertIsInstance(sock, ssl.SSLSocket)
1007
1008 def test_ccc(self):
1009 self.assertRaises(ValueError, self.client.ccc)
1010 self.client.login(secure=True)
1011 self.assertIsInstance(self.client.sock, ssl.SSLSocket)
1012 self.client.ccc()
1013 self.assertRaises(ValueError, self.client.sock.unwrap)
1014
1015 @skipUnless(False, "FIXME: bpo-32706")
1016 def test_check_hostname(self):

Callers

nothing calls this directly

Calls 4

assertIsInstanceMethod · 0.80
cccMethod · 0.80
assertRaisesMethod · 0.45
loginMethod · 0.45

Tested by

no test coverage detected