From 0896df05b63e85e814a870ed88410a94e685395a Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Sun, 2 Nov 2025 11:50:17 +0100 Subject: [PATCH] Workaround for https://github.com/python/cpython/issues/138720 --- tests/channel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/channel.py b/tests/channel.py index d74434e..33016e0 100644 --- a/tests/channel.py +++ b/tests/channel.py @@ -415,7 +415,7 @@ class TestChannel(unittest.TestCase): nonlocal count, write_finished count = writer.write(data.encode("utf-8")) writer.flush() - writer.close() + # writer.close() # TODO: Temporary workaround for https://github.com/python/cpython/issues/138720 write_finished = True threading.Thread(target=write_thread, name="Write Thread", daemon=True).start()