diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2016-03-12 15:27:51 -0400 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2016-03-12 15:27:51 -0400 |
commit | bdc066db2551a0e8ded570dbd27640e64f2e6cac (patch) | |
tree | 4b7045bffabf6029ba5cdc57d512afa671a68dfb | |
parent | 83457cf270fef19446d7bead3b0eb86f6d04c4f5 (diff) | |
download | cryptography-bdc066db2551a0e8ded570dbd27640e64f2e6cac.tar.gz cryptography-bdc066db2551a0e8ded570dbd27640e64f2e6cac.tar.bz2 cryptography-bdc066db2551a0e8ded570dbd27640e64f2e6cac.zip |
py3 is a thing
-rw-r--r-- | tests/hazmat/backends/test_openssl.py | 2 |
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" |