diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-03-10 11:04:58 -0500 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-03-10 11:04:58 -0500 |
commit | a66cb11b6abdd5a77f09c7bf8adbd424c701bb2b (patch) | |
tree | 84f534b4b8000c859b9213da61c431a739b71f5c /tests/hazmat/primitives/test_ec.py | |
parent | d0109a59993ba568bb81a67a062dcfb460692447 (diff) | |
parent | fcadda6a89095fc92e6fe2e248e93b642ce8580b (diff) | |
download | cryptography-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_ec.py')
-rw-r--r-- | tests/hazmat/primitives/test_ec.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/hazmat/primitives/test_ec.py b/tests/hazmat/primitives/test_ec.py index 40b1741c..23f9aff9 100644 --- a/tests/hazmat/primitives/test_ec.py +++ b/tests/hazmat/primitives/test_ec.py @@ -173,7 +173,7 @@ class TestECWithNumbers(object): ).private_key(backend) assert key - if isinstance(key, ec.EllipticCurvePrivateKeyWithNumbers): + if isinstance(key, ec.EllipticCurvePrivateKeyWithSerialization): priv_num = key.private_numbers() assert priv_num.private_value == vector['d'] assert priv_num.public_numbers.x == vector['x'] |