From 5c5f96a09c1d53ae79eba0cc24f530b7d7d8c5f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E7=9A=93=E6=99=9F?= <2067144018@qq.com> Date: Thu, 4 Dec 2025 20:36:55 +0800 Subject: [PATCH] fix bugs --- tests/901_array2d_extra1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/901_array2d_extra1.py b/tests/901_array2d_extra1.py index 3e34ed67..b5b42e6e 100644 --- a/tests/901_array2d_extra1.py +++ b/tests/901_array2d_extra1.py @@ -120,7 +120,7 @@ def gc_collect_callback(statue, msg): if "5290" in line and "str" in line: return print(msg) - assert False + raise AssertionError("Expected GC output not found") gc.collect() gc.setup_debug_callback(gc_collect_callback)