Commit 3bfed9c2 authored by Michael W. Hudson's avatar Michael W. Hudson

Delete the items variable (and explain why).

parent cbcff93d
......@@ -687,6 +687,10 @@ items.sort()
for (name, value) in items:
if name[ : 5] == "test_":
confirm(value(), name)
# We delete the items variable so that the assignment to items above
# doesn't pick up the old value of items (which messes with attempts
# to find reference leaks).
del items
if verbose:
print "%d tests, %d failures" % (tests, len(failures))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment