Neaten ref count test.

This commit is contained in:
Raymond Hettinger 2003-02-01 02:33:45 +00:00
parent 1f1b2d2e68
commit 874d9bcbe5

View file

@ -151,7 +151,7 @@ def test_main(verbose=None):
counts = [] counts = []
for i in xrange(5): for i in xrange(5):
test_support.run_suite(suite) test_support.run_suite(suite)
counts.append(sys.gettotalrefcount()) counts.append(sys.gettotalrefcount()-i)
print counts print counts
if __name__ == "__main__": if __name__ == "__main__":