mirror of
https://github.com/python/cpython.git
synced 2025-08-27 12:16:04 +00:00
Neaten ref count test.
This commit is contained in:
parent
1f1b2d2e68
commit
874d9bcbe5
1 changed files with 1 additions and 1 deletions
|
@ -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__":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue