Skip to content

Commit

Permalink
Fix a test
Browse files Browse the repository at this point in the history
  • Loading branch information
srittau committed Oct 2, 2024
1 parent 58c580b commit a3ff495
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@ def test_verify_external_req() -> None:
Requirement("mypy-extensions"), "mypy", _unsafe_ignore_allowlist=True
)

with pytest.raises(InvalidRequires, match="to be present in the allowlist"):
with pytest.raises(
InvalidRequires, match="to be present in the stub_uploader allowlist"
):
verify_external_req(Requirement("typing-extensions"), "mypy")

m = Metadata("pandas", {"version": "0.1", "requires": ["numpy"]})
Expand Down

0 comments on commit a3ff495

Please sign in to comment.