summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorYury Selivanov <yselivanov@sprymix.com>2016-05-13 19:42:39 (GMT)
committerYury Selivanov <yselivanov@sprymix.com>2016-05-13 19:42:39 (GMT)
commit04eb87e4ef3c821eddbefee83a9c009fea31af7f (patch)
tree8d61dca10faff2352c26d92f3c86298ebef580a6 /Lib/test
parent7657f6ba218aa59ee085f2001dc44247f2fd0d4c (diff)
downloadcpython-04eb87e4ef3c821eddbefee83a9c009fea31af7f.zip
cpython-04eb87e4ef3c821eddbefee83a9c009fea31af7f.tar.gz
cpython-04eb87e4ef3c821eddbefee83a9c009fea31af7f.tar.bz2
asyncio: ease the cert failed regex
Patch by Philip Jenvey
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_asyncio/test_events.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_asyncio/test_events.py b/Lib/test/test_asyncio/test_events.py
index b3f9f0b..4b4e3c0 100644
--- a/Lib/test/test_asyncio/test_events.py
+++ b/Lib/test/test_asyncio/test_events.py
@@ -1002,7 +1002,7 @@ class EventLoopTestsMixin:
with mock.patch.object(self.loop, 'call_exception_handler'):
with test_utils.disable_logger():
with self.assertRaisesRegex(ssl.SSLError,
- '(?i)certificate.verify.failed '):
+ '(?i)certificate.verify.failed'):
self.loop.run_until_complete(f_c)
# execute the loop to log the connection error
@@ -1036,7 +1036,7 @@ class EventLoopTestsMixin:
with mock.patch.object(self.loop, 'call_exception_handler'):
with test_utils.disable_logger():
with self.assertRaisesRegex(ssl.SSLError,
- '(?i)certificate.verify.failed '):
+ '(?i)certificate.verify.failed'):
self.loop.run_until_complete(f_c)
# execute the loop to log the connection error