This commit is contained in:
Kovid Goyal 2012-09-09 21:19:26 +05:30
parent b9f1084b54
commit bb16a23be8

View File

@ -346,7 +346,7 @@ def test_for_mem_leak():
scanner.scan()
for i in xrange(3): gc.collect()
usedmem = memory(startmem)
prints('Memory used in %d repetitions of scan(): %.10f KB'%(reps,
prints('Memory used in %d repetitions of scan(): %.5f KB'%(reps,
1024*usedmem))
prints('Differences in python object counts:')
diff_hists(h1, gc_histogram())