diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-07-25 19:15:59 +0100 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-07-25 19:15:59 +0100 |
commit | 6a71f8d9972032c5f034ba47bcf3439c9ffd3494 (patch) | |
tree | bed5daf8f25c4e3659df8904c2aef0efe206e97d | |
parent | 195a1ecb96d7ac7fc0d9ce39340e747531e5ad96 (diff) | |
download | cryptography-6a71f8d9972032c5f034ba47bcf3439c9ffd3494.tar.gz cryptography-6a71f8d9972032c5f034ba47bcf3439c9ffd3494.tar.bz2 cryptography-6a71f8d9972032c5f034ba47bcf3439c9ffd3494.zip |
py3 fixin'
-rw-r--r-- | tests/test_x509.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_x509.py b/tests/test_x509.py index 38432271..98cf49be 100644 --- a/tests/test_x509.py +++ b/tests/test_x509.py @@ -1217,7 +1217,7 @@ class TestCertificateSigningRequestBuilder(object): with pytest.raises(ValueError) as exc: builder.sign(private_key, hashes.SHA512(), backend) - assert exc.value.message == "Digest too big for RSA key" + assert str(exc.value) == "Digest too big for RSA key" @pytest.mark.requires_backend_interface(interface=DSABackend) |