Skip to content

Commit

Permalink
Fix coverage after RTD workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
Jörn Heissler committed Feb 17, 2020
1 parent 3378c45 commit b9567e9
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 45 deletions.
2 changes: 1 addition & 1 deletion pvss/qr.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

try:
from gmpy2 import invert, is_prime, legendre, mpz, powmod
except ImportError:
except ImportError: # pragma: no cover
# Work around the fact that gmpy2 is not installed in the readthedocs build image
if "READTHEDOCS" not in environ:
raise
Expand Down
2 changes: 1 addition & 1 deletion pvss/ristretto_255.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ class _Lib:
scalar_mul.restype = None
scalar_mul.argtypes = ctypes.c_char_p, ctypes.c_char_p, ctypes.c_char_p

except Exception:
except Exception: # pragma: no cover
# Work around the fact that libsodium is not installed in the readthedocs build image
if "READTHEDOCS" not in environ:
raise
Expand Down
2 changes: 1 addition & 1 deletion pvss/zq.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

try:
from gmpy2 import invert, is_prime, mpz
except ImportError:
except ImportError: # pragma: no cover
# Work around the fact that gmpy2 is not installed in the readthedocs build image
if "READTHEDOCS" not in environ:
raise
Expand Down
42 changes: 0 additions & 42 deletions shamir

This file was deleted.

0 comments on commit b9567e9

Please sign in to comment.