aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/primitives
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2015-08-12 17:56:37 -0500
committerPaul Kehrer <paul.l.kehrer@gmail.com>2015-08-12 17:56:37 -0500
commitbc4a9fa290a837b2ca2874c0b014a070d5941082 (patch)
treea7ac3a2cf71d25f7c5e8289e7847e6b6c6de84ae /tests/hazmat/primitives
parent56b1a88b6565f2239c717bb3c8514f84f55ee855 (diff)
downloadcryptography-bc4a9fa290a837b2ca2874c0b014a070d5941082.tar.gz
cryptography-bc4a9fa290a837b2ca2874c0b014a070d5941082.tar.bz2
cryptography-bc4a9fa290a837b2ca2874c0b014a070d5941082.zip
skip if check on ec test
Diffstat (limited to 'tests/hazmat/primitives')
-rw-r--r--tests/hazmat/primitives/test_ec.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/hazmat/primitives/test_ec.py b/tests/hazmat/primitives/test_ec.py
index f2e340be..59bdc525 100644
--- a/tests/hazmat/primitives/test_ec.py
+++ b/tests/hazmat/primitives/test_ec.py
@@ -715,7 +715,8 @@ class TestEllipticCurvePEMPublicKeySerialization(object):
@pytest.mark.requires_backend_interface(interface=EllipticCurveBackend)
class TestECDSAVerification(object):
def test_signature_not_bytes(self, backend):
- key = ec.generate_private_key(ec.SECP192R1(), backend)
+ _skip_curve_unsupported(backend, ec.SECP256R1())
+ key = ec.generate_private_key(ec.SECP256R1(), backend)
public_key = key.public_key()
with pytest.raises(TypeError):
public_key.verifier(1234, ec.ECDSA(hashes.SHA256()))