-
Notifications
You must be signed in to change notification settings - Fork 255
Closed
Description
When run tests from master branch within testenv py36-base, the expected error BadDigestError is not raised.
@pytest.mark.parametrize("Backend,ExceptionType", _backend_exception_types())
def test_key_too_short(self, Backend, ExceptionType):
key = Backend(TOO_SHORT_PRIVATE_KEY, ALGORITHMS.ES512)
with pytest.raises(ExceptionType):
> key.sign(b'foo')
E Failed: DID NOT RAISE <class 'ecdsa.keys.BadDigestError'>
tests/algorithms/test_EC.py:121: Failed
Steps to reproduce:
- create a virtual environment
- install tox
tox -e py36-base
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels