From 2de450a2166e6a390f2d9e121b3d660b049b1807 Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Sun, 20 Jan 2019 17:24:41 -0600 Subject: deprecate encode_point and migrate all internal callers (#4720) --- tests/hazmat/primitives/test_ec.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/hazmat/primitives/test_ec.py') diff --git a/tests/hazmat/primitives/test_ec.py b/tests/hazmat/primitives/test_ec.py index 471ef267..7a6d6aff 100644 --- a/tests/hazmat/primitives/test_ec.py +++ b/tests/hazmat/primitives/test_ec.py @@ -175,7 +175,8 @@ def test_encode_point(): 16 ) pn = ec.EllipticCurvePublicNumbers(x, y, ec.SECP256R1()) - data = pn.encode_point() + with pytest.warns(utils.DeprecatedIn25): + data = pn.encode_point() assert data == binascii.unhexlify( "04233ea3b0027127084cd2cd336a13aeef69c598d8af61369a36454a17c6c22ae" "c3ea2c10a84153862be4ec82940f0543f9ba866af9751a6ee79d38460b35f442e" -- cgit v1.2.3