Skip to content

Commit

Permalink
XFail invalid packaging requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon committed Jun 24, 2024
1 parent 39b5291 commit 1e45b9e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/unit/test_sessions.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ def test_to_constraints(requirements: str, expected: str) -> None:
assert to_constraints(requirements) == expected


@pytest.mark.xfail(reason="This requirement now seems to be valid.")
def test_invalid_constraint() -> None:
"""It raises an exception."""
with pytest.raises(RuntimeError):
Expand Down

0 comments on commit 1e45b9e

Please sign in to comment.