]>
Commit | Line | Data |
---|---|---|
1b1a21d4 AM |
1 | --- Python-3.7.4/Lib/test/test_imaplib.py~ 2019-07-08 20:03:50.000000000 +0200 |
2 | +++ Python-3.7.4/Lib/test/test_imaplib.py 2019-08-05 19:25:53.119629647 +0200 | |
3 | @@ -73,7 +73,7 @@ class TestImaplib(unittest.TestCase): | |
4 | ||
5 | def test_imap4_host_default_value(self): | |
6 | # Check whether the IMAP4_PORT is truly unavailable. | |
7 | - with socket.socket() as s: | |
8 | + with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s: | |
9 | try: | |
10 | s.connect(('', imaplib.IMAP4_PORT)) | |
11 | self.skipTest( |