From 874d9bcbe5794539a4f6bc1ca46df7841b88f830 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Sat, 1 Feb 2003 02:33:45 +0000 Subject: Neaten ref count test. --- Lib/test/test_itertools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_itertools.py b/Lib/test/test_itertools.py index c096e16..1239301 100644 --- a/Lib/test/test_itertools.py +++ b/Lib/test/test_itertools.py @@ -151,7 +151,7 @@ def test_main(verbose=None): counts = [] for i in xrange(5): test_support.run_suite(suite) - counts.append(sys.gettotalrefcount()) + counts.append(sys.gettotalrefcount()-i) print counts if __name__ == "__main__": -- cgit v0.12