Skip to content

Commit

Permalink
fixed reversed logic
Browse files Browse the repository at this point in the history
  • Loading branch information
bdraco committed Nov 10, 2024
1 parent 1143c7e commit 6ab8a44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_base_protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ async def test_pause_writing() -> None:
loop = asyncio.get_event_loop()
pr = BaseProtocol(loop)
assert not pr._paused
assert pr.writing_paused is True
assert pr.writing_paused is False
pr.pause_writing()
assert pr._paused
assert pr.writing_paused is False # type: ignore[unreachable]
assert pr.writing_paused is True # type: ignore[unreachable]


async def test_pause_reading_no_transport() -> None:
Expand Down

0 comments on commit 6ab8a44

Please sign in to comment.