MCPcopy
hub / github.com/pyca/cryptography / _skip_curve_unsupported

Function _skip_curve_unsupported

tests/hazmat/primitives/test_ec.py:59–63  ·  view source on GitHub ↗
(backend, curve: ec.EllipticCurve)

Source from the content-addressed store, hash-verified

57
58
59def _skip_curve_unsupported(backend, curve: ec.EllipticCurve):
60 if not backend.elliptic_curve_supported(curve):
61 pytest.skip(
62 f"Curve {curve.name} is not supported by this backend {backend}"
63 )
64
65
66def _skip_deterministic_ecdsa_unsupported(backend):

Calls 1

Tested by

no test coverage detected