mirror of
https://github.com/python/cpython.git
synced 2025-11-20 02:50:14 +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 = []
|
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__":
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue