From 6ab8a44fba5637f3ee2c5e29e149d6b647fdd0fc Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sun, 10 Nov 2024 00:34:42 +0000 Subject: [PATCH] fixed reversed logic --- tests/test_base_protocol.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_base_protocol.py b/tests/test_base_protocol.py index 877f17641ba..713dba2d0c2 100644 --- a/tests/test_base_protocol.py +++ b/tests/test_base_protocol.py @@ -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: