[packages/python3/PYTHON_3_7] - create ipv4 socket, too
arekm
arekm at pld-linux.org
Wed Oct 16 13:40:48 CEST 2019
commit 268c73edb20e3959cd71a239e3e68f1ebe4981d9
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Wed Oct 16 13:40:38 2019 +0200
- create ipv4 socket, too
python3-tests.patch | 9 +++++++++
1 file changed, 9 insertions(+)
---
diff --git a/python3-tests.patch b/python3-tests.patch
index 7d19d37..1272d4d 100644
--- a/python3-tests.patch
+++ b/python3-tests.patch
@@ -9,3 +9,12 @@
try:
s.connect(('', imaplib.IMAP4_PORT))
self.skipTest(
+@@ -84,7 +84,7 @@ class TestImaplib(unittest.TestCase):
+ # This is the exception that should be raised.
+ expected_errnos = support.get_socket_conn_refused_errs()
+ with self.assertRaises(OSError) as cm:
+- imaplib.IMAP4()
++ imaplib.IMAP4('0.0.0.0')
+ self.assertIn(cm.exception.errno, expected_errnos)
+
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3.git/commitdiff/268c73edb20e3959cd71a239e3e68f1ebe4981d9
More information about the pld-cvs-commit
mailing list