aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/primitives/test_rsa.py
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2015-03-10 11:04:58 -0500
committerPaul Kehrer <paul.l.kehrer@gmail.com>2015-03-10 11:04:58 -0500
commita66cb11b6abdd5a77f09c7bf8adbd424c701bb2b (patch)
tree84f534b4b8000c859b9213da61c431a739b71f5c /tests/hazmat/primitives/test_rsa.py
parentd0109a59993ba568bb81a67a062dcfb460692447 (diff)
parentfcadda6a89095fc92e6fe2e248e93b642ce8580b (diff)
downloadcryptography-a66cb11b6abdd5a77f09c7bf8adbd424c701bb2b.tar.gz
cryptography-a66cb11b6abdd5a77f09c7bf8adbd424c701bb2b.tar.bz2
cryptography-a66cb11b6abdd5a77f09c7bf8adbd424c701bb2b.zip
Merge pull request #1742 from alex/fixed-deprecations
Fixed the deprecation warnings being triggered by the tests
Diffstat (limited to 'tests/hazmat/primitives/test_rsa.py')
-rw-r--r--tests/hazmat/primitives/test_rsa.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/hazmat/primitives/test_rsa.py b/tests/hazmat/primitives/test_rsa.py
index e6d0ac28..d79d9320 100644
--- a/tests/hazmat/primitives/test_rsa.py
+++ b/tests/hazmat/primitives/test_rsa.py
@@ -113,7 +113,7 @@ class TestRSA(object):
skey = rsa.generate_private_key(public_exponent, key_size, backend)
assert skey.key_size == key_size
- if isinstance(skey, rsa.RSAPrivateKeyWithNumbers):
+ if isinstance(skey, rsa.RSAPrivateKeyWithSerialization):
_check_rsa_private_numbers(skey.private_numbers())
pkey = skey.public_key()
assert isinstance(pkey.public_numbers(), rsa.RSAPublicNumbers)