From cc99b68a1dc9a0699d992c62241a5e378fcf9870 Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Wed, 29 Apr 2026 13:55:11 +0800 Subject: [PATCH] [no ci] Update 711_gc.py --- tests/711_gc.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tests/711_gc.py b/tests/711_gc.py index b763b583..a029d8e4 100644 --- a/tests/711_gc.py +++ b/tests/711_gc.py @@ -12,4 +12,10 @@ gc.collect() create_garbage() create_garbage() -create_garbage() \ No newline at end of file +c = create_garbage() + +assert gc.is_tracked(c) == True +gc.untrack(c) +assert gc.is_tracked(c) == False +gc.track(c) +assert gc.is_tracked(c) == True