diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2015-03-10 10:01:18 -0400 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2015-03-10 10:01:18 -0400 |
commit | fcadda6a89095fc92e6fe2e248e93b642ce8580b (patch) | |
tree | 84f534b4b8000c859b9213da61c431a739b71f5c /tests/hazmat/primitives/test_ec.py | |
parent | d0109a59993ba568bb81a67a062dcfb460692447 (diff) | |
download | cryptography-fcadda6a89095fc92e6fe2e248e93b642ce8580b.tar.gz cryptography-fcadda6a89095fc92e6fe2e248e93b642ce8580b.tar.bz2 cryptography-fcadda6a89095fc92e6fe2e248e93b642ce8580b.zip |
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'] |