aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/primitives/test_ec.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2019-11-03 01:47:13 -0400
committerPaul Kehrer <paul.l.kehrer@gmail.com>2019-11-03 13:47:13 +0800
commit9668b000326585339267a42176facd9ff81481ee (patch)
treed9b57ace202f397461f9cb8aca436a24a68f699a /tests/hazmat/primitives/test_ec.py
parent6d450f7fdc6be790443d82aa5aff8572ba3965bf (diff)
downloadcryptography-9668b000326585339267a42176facd9ff81481ee.tar.gz
cryptography-9668b000326585339267a42176facd9ff81481ee.tar.bz2
cryptography-9668b000326585339267a42176facd9ff81481ee.zip
Deal with the 2.5 deprecations (#5048)
* Deal with the 2.5 deprecations * pep8 + test fixes * docs typo * Why did I do this? * typo
Diffstat (limited to 'tests/hazmat/primitives/test_ec.py')
-rw-r--r--tests/hazmat/primitives/test_ec.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/hazmat/primitives/test_ec.py b/tests/hazmat/primitives/test_ec.py
index 922a25f0..987c0ff0 100644
--- a/tests/hazmat/primitives/test_ec.py
+++ b/tests/hazmat/primitives/test_ec.py
@@ -181,7 +181,7 @@ def test_encode_point():
16
)
pn = ec.EllipticCurvePublicNumbers(x, y, ec.SECP256R1())
- with pytest.warns(utils.DeprecatedIn25):
+ with pytest.warns(utils.PersistentlyDeprecated2019):
data = pn.encode_point()
assert data == binascii.unhexlify(
"04233ea3b0027127084cd2cd336a13aeef69c598d8af61369a36454a17c6c22ae"