Skip to content

Commit

Permalink
Add repr test (#9120)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dreamsorcerer authored Sep 11, 2024
1 parent a79a4e8 commit 194792a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_streams.py
Original file line number Diff line number Diff line change
Expand Up @@ -1104,6 +1104,7 @@ async def test_unread_empty(self) -> None:
async def test_empty_stream_reader() -> None:
s = streams.EmptyStreamReader()
assert str(s) is not None
assert repr(s) == "<EmptyStreamReader>"
assert s.set_exception(ValueError()) is None # type: ignore[func-returns-value]
assert s.exception() is None
assert s.feed_eof() is None # type: ignore[func-returns-value]
Expand Down

0 comments on commit 194792a

Please sign in to comment.