Skip to content

Commit

Permalink
fix test_repr_no_description
Browse files Browse the repository at this point in the history
  • Loading branch information
setla committed Jan 30, 2024
1 parent 1612c92 commit a39e190
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_client_exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ def test_pickle(self) -> None:

def test_repr_no_description(self) -> None:
err = client.InvalidURL(url=":wrong:url:")
assert err.description is None
assert err.args == (":wrong:url:",)
assert repr(err) == "<InvalidURL :wrong:url:>"

def test_repr_yarl_URL(self) -> None:
Expand Down

0 comments on commit a39e190

Please sign in to comment.