We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c25b73 commit 769ddb0Copy full SHA for 769ddb0
Lib/test/test_poplib.py
@@ -483,7 +483,7 @@ def testTimeoutDefault(self):
483
finally:
484
socket.setdefaulttimeout(None)
485
self.assertEqual(pop.sock.gettimeout(), 30)
486
- pop.sock.close()
+ pop.close()
487
488
def testTimeoutNone(self):
489
self.assertIsNone(socket.getdefaulttimeout())
@@ -493,12 +493,12 @@ def testTimeoutNone(self):
493
494
495
self.assertIsNone(pop.sock.gettimeout())
496
497
498
def testTimeoutValue(self):
499
pop = poplib.POP3(HOST, self.port, timeout=30)
500
501
502
503
504
def test_main():
0 commit comments