From 289ed25ddcc67a361acf7f8d691b0411806192c0 Mon Sep 17 00:00:00 2001 From: Thomas Grainger Date: Mon, 23 Dec 2024 09:00:49 +0000 Subject: [PATCH] just check for close --- src/trio/_core/_tests/test_io.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/trio/_core/_tests/test_io.py b/src/trio/_core/_tests/test_io.py index 2a9a2c117..e3f7a324f 100644 --- a/src/trio/_core/_tests/test_io.py +++ b/src/trio/_core/_tests/test_io.py @@ -417,10 +417,6 @@ def check( ): pass # pragma: no cover check(expected_monitors=1, expected_readers=1, expected_writers=0) - b1.send(b"\x00") - with trio.fail_after(1): - await q.receive() - _core.notify_closing(a1) a1.close() with trio.fail_after(1):