diff options
author | Raymond Hettinger <python@rcn.com> | 2003-02-01 02:33:45 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2003-02-01 02:33:45 (GMT) |
commit | 874d9bcbe5794539a4f6bc1ca46df7841b88f830 (patch) | |
tree | 7cf186032d8986f269b98fe3ed0912aaaf6402ed /Lib/test/test_itertools.py | |
parent | 1f1b2d2e68ef520c2c7a937a4f429020a4627356 (diff) | |
download | cpython-874d9bcbe5794539a4f6bc1ca46df7841b88f830.zip cpython-874d9bcbe5794539a4f6bc1ca46df7841b88f830.tar.gz cpython-874d9bcbe5794539a4f6bc1ca46df7841b88f830.tar.bz2 |
Neaten ref count test.
Diffstat (limited to 'Lib/test/test_itertools.py')
-rw-r--r-- | Lib/test/test_itertools.py | 2 |
1 files changed, 1 insertions, 1 deletions
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__": |