From: Raymond Hettinger Date: Sat, 1 Feb 2003 02:33:45 +0000 (+0000) Subject: Neaten ref count test. X-Git-Tag: v2.3c1~2135 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=874d9bcbe5794539a4f6bc1ca46df7841b88f830;p=thirdparty%2FPython%2Fcpython.git Neaten ref count test. --- diff --git a/Lib/test/test_itertools.py b/Lib/test/test_itertools.py index c096e16a4cab..12393010f5e4 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__":