From ed2a510d39d87540fc9c3a2239a0cdd34c7bc7de Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 12 Sep 2014 16:56:32 +0100 Subject: Reorganised imports Swapped the order of the imports so that flake8 will see that they are correct, and changed the test import to be relative rather than absolute, as is the standard --- tests/hazmat/primitives/test_serialization.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'tests') diff --git a/tests/hazmat/primitives/test_serialization.py b/tests/hazmat/primitives/test_serialization.py index cbcc772d..8542408b 100644 --- a/tests/hazmat/primitives/test_serialization.py +++ b/tests/hazmat/primitives/test_serialization.py @@ -21,15 +21,14 @@ import pytest from cryptography.exceptions import _Reasons from cryptography.hazmat.primitives import interfaces +from cryptography.hazmat.primitives.asymmetric import ec from cryptography.hazmat.primitives.serialization import ( load_pem_pkcs8_private_key, load_pem_private_key, load_pem_traditional_openssl_private_key ) -from tests.hazmat.primitives.test_ec import ( - _skip_curve_unsupported -) -from cryptography.hazmat.primitives.asymmetric import ec + +from .test_ec import _skip_curve_unsupported from .utils import _check_rsa_private_numbers, load_vectors_from_file from ...utils import raises_unsupported_algorithm -- cgit v1.2.3