From bdc066db2551a0e8ded570dbd27640e64f2e6cac Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Sat, 12 Mar 2016 15:27:51 -0400 Subject: py3 is a thing --- tests/hazmat/backends/test_openssl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/hazmat/backends/test_openssl.py b/tests/hazmat/backends/test_openssl.py index b9db3071..52bee7b3 100644 --- a/tests/hazmat/backends/test_openssl.py +++ b/tests/hazmat/backends/test_openssl.py @@ -676,4 +676,4 @@ class TestGOSTCertificate(object): # We assert on the message in this case because if the certificate # fails to load it will also raise a ValueError and this test could # erroneously pass. - assert exc.value.message == "Unsupported ASN1 string type. Type: 18" + assert str(exc.value) == "Unsupported ASN1 string type. Type: 18" -- cgit v1.2.3