(self)
| 563 | pop.close() |
| 564 | |
| 565 | def testTimeoutValue(self): |
| 566 | pop = poplib.POP3(HOST, self.port, timeout=test_support.LOOPBACK_TIMEOUT) |
| 567 | self.assertEqual(pop.sock.gettimeout(), test_support.LOOPBACK_TIMEOUT) |
| 568 | pop.close() |
| 569 | with self.assertRaises(ValueError): |
| 570 | poplib.POP3(HOST, self.port, timeout=0) |
| 571 | |
| 572 | |
| 573 | def setUpModule(): |
nothing calls this directly
no test coverage detected