]> git.pld-linux.org Git - packages/python3.git/blobdiff - python3-tests.patch
- run imap4_host_default_value test with ipv4, so it should work on our vserver build...
[packages/python3.git] / python3-tests.patch
diff --git a/python3-tests.patch b/python3-tests.patch
new file mode 100644 (file)
index 0000000..7d19d37
--- /dev/null
@@ -0,0 +1,11 @@
+--- Python-3.7.4/Lib/test/test_imaplib.py~     2019-07-08 20:03:50.000000000 +0200
++++ Python-3.7.4/Lib/test/test_imaplib.py      2019-08-05 19:25:53.119629647 +0200
+@@ -73,7 +73,7 @@ class TestImaplib(unittest.TestCase):
+     def test_imap4_host_default_value(self):
+         # Check whether the IMAP4_PORT is truly unavailable.
+-        with socket.socket() as s:
++        with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s:
+             try:
+                 s.connect(('', imaplib.IMAP4_PORT))
+                 self.skipTest(
This page took 0.341137 seconds and 4 git commands to generate.