[pypy-svn] r29275 - pypy/dist/lib-python/modified-2.4.1/test

arigo at codespeak.net arigo at codespeak.net
Fri Jun 23 21:24:30 CEST 2006


Author: arigo
Date: Fri Jun 23 21:24:27 2006
New Revision: 29275

Added:
   pypy/dist/lib-python/modified-2.4.1/test/test_scope.py
      - copied, changed from r29256, pypy/dist/lib-python/2.4.1/test/test_scope.py
Modified:
   pypy/dist/lib-python/modified-2.4.1/test/test_class.py
Log:
Add a couple of missing gc.collect() in the CPython tests.
(backport candidate)


Modified: pypy/dist/lib-python/modified-2.4.1/test/test_class.py
==============================================================================
--- pypy/dist/lib-python/modified-2.4.1/test/test_class.py	(original)
+++ pypy/dist/lib-python/modified-2.4.1/test/test_class.py	Fri Jun 23 21:24:27 2006
@@ -244,6 +244,9 @@
 if sys.platform[:4] == 'java':
     import java
     java.lang.System.gc()
+else:
+    import gc
+    gc.collect()
 
 # Interfering tests
 



More information about the Pypy-commit mailing list