Author: Ronan Lamy <[email protected]>
Branch: 
Changeset: r87600:ef455a2a5660
Date: 2016-10-05 18:31 +0100
http://bitbucket.org/pypy/pypy/changeset/ef455a2a5660/

Log:    Reimplement debug_collect() for -A

diff --git a/pypy/module/cpyext/test/test_cpyext.py 
b/pypy/module/cpyext/test/test_cpyext.py
--- a/pypy/module/cpyext/test/test_cpyext.py
+++ b/pypy/module/cpyext/test/test_cpyext.py
@@ -265,6 +265,13 @@
                 return sys_info.load_module(mod, name)
             cls.w_load_module = w_load_module
 
+            def w_debug_collect(self):
+                import gc
+                gc.collect()
+                gc.collect()
+                gc.collect()
+            cls.w_debug_collect = w_debug_collect
+
 
     def record_imported_module(self, name):
         """
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to