Skip to content

Commit

Permalink
Use match= in validation testing
Browse files Browse the repository at this point in the history
  • Loading branch information
banesullivan authored and lwasser committed Jan 14, 2025
1 parent 2b9c1cf commit 383e10f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration/test_parse_issues.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def test_parse_doi_archives(process_issues, data_file):

review = data_file("reviews/archives_invalid.txt", True)

with pytest.raises(ValueError):
with pytest.raises(ValueError, match="Invalid archive"):
review = process_issues.parse_issue(review)


Expand Down

0 comments on commit 383e10f

Please sign in to comment.