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 a7b3bc5 commit d165e14Copy full SHA for d165e14
Lib/test/test_poplib.py
@@ -488,7 +488,7 @@ def testTimeoutDefault(self):
488
finally:
489
socket.setdefaulttimeout(None)
490
self.assertEqual(pop.sock.gettimeout(), 30)
491
- pop.sock.close()
+ pop.close()
492
493
def testTimeoutNone(self):
494
self.assertIsNone(socket.getdefaulttimeout())
@@ -498,12 +498,12 @@ def testTimeoutNone(self):
498
499
500
self.assertIsNone(pop.sock.gettimeout())
501
502
503
def testTimeoutValue(self):
504
pop = poplib.POP3(HOST, self.port, timeout=30)
505
506
507
508
509
def test_main():
0 commit comments