summaryrefslogtreecommitdiff
path: root/net-misc/httpie/files/httpie-1.0.2-fix-test_ssl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/httpie/files/httpie-1.0.2-fix-test_ssl.patch')
-rw-r--r--net-misc/httpie/files/httpie-1.0.2-fix-test_ssl.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-misc/httpie/files/httpie-1.0.2-fix-test_ssl.patch b/net-misc/httpie/files/httpie-1.0.2-fix-test_ssl.patch
new file mode 100644
index 000000000000..212f91f41e82
--- /dev/null
+++ b/net-misc/httpie/files/httpie-1.0.2-fix-test_ssl.patch
@@ -0,0 +1,11 @@
+--- a/tests/test_ssl.py 2018-11-14 16:36:19.000000000 +0100
++++ b/tests/test_ssl.py 2019-06-29 16:28:09.466528486 +0200
+@@ -45,7 +45,7 @@
+ except ssl_errors as e:
+ if ssl_version == 'ssl3':
+ # pytest-httpbin doesn't support ssl3
+- assert 'SSLV3_ALERT_HANDSHAKE_FAILURE' in str(e)
++ assert 'SSLV3_ALERT_HANDSHAKE_FAILURE' in str(e) or 'handshake failure' in str(e)
+ else:
+ raise
+