[pypy-svn] r51589 - pypy/dist/pypy/lib/app_test/ctypes
fijal at codespeak.net
fijal at codespeak.net
Mon Feb 18 17:00:09 CET 2008
Author: fijal
Date: Mon Feb 18 17:00:06 2008
New Revision: 51589
Modified:
pypy/dist/pypy/lib/app_test/ctypes/support.py
Log:
one line less :)
Modified: pypy/dist/pypy/lib/app_test/ctypes/support.py
==============================================================================
--- pypy/dist/pypy/lib/app_test/ctypes/support.py (original)
+++ pypy/dist/pypy/lib/app_test/ctypes/support.py Mon Feb 18 17:00:06 2008
@@ -18,8 +18,7 @@
pass
else:
import gc
- gc.collect()
- gc.collect()
- gc.collect()
+ for _ in range(3):
+ gc.collect()
# there is one reference coming from the byref() above
assert _rawffi._num_of_allocated_objects() == cls.old_num
More information about the Pypy-commit
mailing list