Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove unused 'count' variable.
  • Loading branch information
nascheme committed May 6, 2025
commit d37ed70a2eb9e8a447eb6b7a52d14cb109ad03e5
2 changes: 0 additions & 2 deletions Lib/test/_test_gc_fast_cycles.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,12 @@ def make_ll(depth):
return head

head = make_ll(1000)
count = 1000

assert(gc.isenabled())
olds = []
initial_heap_size = _testinternalcapi.get_tracked_heap_size()
for i in range(20_000):
newhead = make_ll(20)
count += 20
newhead.surprise = head
olds.append(newhead)
if len(olds) == 20:
Expand Down