summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2017-09-14 18:56:58 +0200
committerMatěj Cepl <mcepl@cepl.eu>2017-09-20 17:14:13 +0200
commit850350dafbaf5471d36eae6940089b1a3ceaac93 (patch)
treee792cd1ad4e1f2edd6e5a8617aa155f17ab14110
parent6cfda58d110b38fb34d447cc57f1273db142ad04 (diff)
downloadm2crypto-850350dafbaf5471d36eae6940089b1a3ceaac93.tar.gz
Be more liberal about the error message in test_ssl.*.test_tls1_nok
-rw-r--r--tests/test_ssl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_ssl.py b/tests/test_ssl.py
index 1a5640c..3d6c5a6 100644
--- a/tests/test_ssl.py
+++ b/tests/test_ssl.py
@@ -335,7 +335,7 @@ class MiscSSLClientTestCase(BaseSSLClientTestCase):
ctx = SSL.Context('tlsv1')
s = SSL.Connection(ctx)
with self.assertRaisesRegexp(SSL.SSLError,
- r'wrong version number|unexpected eof'):
+ r'version|unexpected eof'):
s.connect(self.srv_addr)
s.close()
finally: