jpadilla / pyjwt

JSON Web Token implementation in Python
https://pyjwt.readthedocs.io
MIT License
5.17k stars 690 forks source link

fix test_utils.py not to xfail #987

Closed pachewise closed 1 month ago

pachewise commented 2 months ago

See https://docs.pytest.org/en/stable/example/parametrize.html#parametrizing-conditional-raising. We should be "passing" the test if the correct action is to raise a ValueError.

pachewise commented 2 months ago

@auvipy the issue is the one we fixed in #986; once we merge that, the tests should pass here.

image