mirror of
https://github.com/python/cpython.git
synced 2024-11-23 18:04:37 +08:00
Neaten ref count test.
This commit is contained in:
parent
1f1b2d2e68
commit
874d9bcbe5
@ -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…
Reference in New Issue
Block a user