aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2016-03-12 15:27:51 -0400
committerPaul Kehrer <paul.l.kehrer@gmail.com>2016-03-12 15:27:51 -0400
commitbdc066db2551a0e8ded570dbd27640e64f2e6cac (patch)
tree4b7045bffabf6029ba5cdc57d512afa671a68dfb /tests
parent83457cf270fef19446d7bead3b0eb86f6d04c4f5 (diff)
downloadcryptography-bdc066db2551a0e8ded570dbd27640e64f2e6cac.tar.gz
cryptography-bdc066db2551a0e8ded570dbd27640e64f2e6cac.tar.bz2
cryptography-bdc066db2551a0e8ded570dbd27640e64f2e6cac.zip
py3 is a thing
Diffstat (limited to 'tests')
-rw-r--r--tests/hazmat/backends/test_openssl.py2
1 files changed, 1 insertions, 1 deletions
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"