From d95b6c27bc6fa1f55469f65cf683bf11788bb615 Mon Sep 17 00:00:00 2001 From: Andrey <11718563+uhx@users.noreply.github.com> Date: Mon, 1 Sep 2025 21:26:37 +0200 Subject: [PATCH] Fix typo in test_io.py --- Lib/test/test_free_threading/test_io.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_free_threading/test_io.py b/Lib/test/test_free_threading/test_io.py index 41d89e04da8716..c67aaff31b3f5b 100644 --- a/Lib/test/test_free_threading/test_io.py +++ b/Lib/test/test_free_threading/test_io.py @@ -41,7 +41,7 @@ def writelines(barrier, b, *ignore): def truncate(barrier, b, *ignore): barrier.wait() try: b.truncate(0) - except: BufferError # ignore exported buffer + except BufferError: pass # ignore exported buffer def read(barrier, b, *ignore): barrier.wait()