(self)
| 1123 | ftplib.FTP(HOST, timeout=0) |
| 1124 | |
| 1125 | def testTimeoutConnect(self): |
| 1126 | ftp = ftplib.FTP() |
| 1127 | ftp.connect(HOST, timeout=30) |
| 1128 | self.assertEqual(ftp.sock.gettimeout(), 30) |
| 1129 | self.evt.wait() |
| 1130 | ftp.close() |
| 1131 | |
| 1132 | def testTimeoutDifferentOrder(self): |
| 1133 | ftp = ftplib.FTP(timeout=30) |
nothing calls this directly
no test coverage detected