Skip to content

Commit

Permalink
https://httpstat.us/404 is timing out instead of 404ing
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Nov 29, 2023
1 parent 228cd99 commit c445a57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_pepotron.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def test__download_peps_json_ok() -> None:

def test__download_peps_json_error() -> None:
with pytest.raises(RuntimeError):
pepotron._download_peps_json("https://httpstat.us/404")
pepotron._download_peps_json("https://httpbin.org/status/404")


def test_pep() -> None:
Expand Down

0 comments on commit c445a57

Please sign in to comment.