Commit d476daaa authored by Vincent Pelletier's avatar Vincent Pelletier

caucase.utils: Fix coverage pragma syntax

parent ef99ce54
Pipeline #38785 failed with stage
in 0 seconds
...@@ -105,13 +105,13 @@ try: ...@@ -105,13 +105,13 @@ try:
_CAUCASE_LEGACY_OID_AUTO_SIGNED = x509.oid.ObjectIdentifier( _CAUCASE_LEGACY_OID_AUTO_SIGNED = x509.oid.ObjectIdentifier(
CAUCASE_LEGACY_OID_AUTO_SIGNED, CAUCASE_LEGACY_OID_AUTO_SIGNED,
) )
except ValueError: # pragma: no-cover except ValueError: # pragma: no cover
# cryptography started raising when instanciating long OIDs somewhere up to # cryptography started raising when instanciating long OIDs somewhere up to
# 40.0.2 . # 40.0.2 .
_CAUCASE_AUTO_SIGNED_OID_SET = ( _CAUCASE_AUTO_SIGNED_OID_SET = (
_CAUCASE_OID_AUTO_SIGNED, _CAUCASE_OID_AUTO_SIGNED,
) )
else: # pragma: no-cover else: # pragma: no cover
_CAUCASE_AUTO_SIGNED_OID_SET = ( _CAUCASE_AUTO_SIGNED_OID_SET = (
_CAUCASE_OID_AUTO_SIGNED, _CAUCASE_OID_AUTO_SIGNED,
_CAUCASE_LEGACY_OID_AUTO_SIGNED, _CAUCASE_LEGACY_OID_AUTO_SIGNED,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment