We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d3cac18 commit 439acddCopy full SHA for 439acdd
1 file changed
tests/basics/gc1.py
@@ -27,3 +27,8 @@
27
assert(gc.threshold() == 0)
28
assert(gc.threshold(-1) is None)
29
assert(gc.threshold() == -1)
30
+
31
+ # Setting a low threshold should trigger collection at the list alloc
32
+ gc.threshold(1)
33
+ [[], []]
34
+ gc.threshold(-1)
0 commit comments