[pypy-svn] r70900 - in pypy/trunk/pypy/module/gc: . test

fijal at codespeak.net fijal at codespeak.net
Tue Jan 26 19:44:36 CET 2010


Author: fijal
Date: Tue Jan 26 19:44:36 2010
New Revision: 70900

Modified:
   pypy/trunk/pypy/module/gc/__init__.py
   pypy/trunk/pypy/module/gc/test/test_gc.py
Log:
disable this feature. Due to a combination of imports, it break late
importing of gc module (imports it during annotation)


Modified: pypy/trunk/pypy/module/gc/__init__.py
==============================================================================
--- pypy/trunk/pypy/module/gc/__init__.py	(original)
+++ pypy/trunk/pypy/module/gc/__init__.py	Tue Jan 26 19:44:36 2010
@@ -12,7 +12,7 @@
         'disable_finalizers': 'interp_gc.disable_finalizers',
         'estimate_heap_size': 'interp_gc.estimate_heap_size',
         'garbage' : 'space.newlist([])',
-        'dump_heap_stats': 'interp_gc.dump_heap_stats',
+        #'dump_heap_stats': 'interp_gc.dump_heap_stats',
     }
 
     def __init__(self, space, w_name):

Modified: pypy/trunk/pypy/module/gc/test/test_gc.py
==============================================================================
--- pypy/trunk/pypy/module/gc/test/test_gc.py	(original)
+++ pypy/trunk/pypy/module/gc/test/test_gc.py	Tue Jan 26 19:44:36 2010
@@ -77,6 +77,8 @@
 
 class AppTestGcDumpHeap(object):
     def setup_class(cls):
+        import py
+        py.test.skip("Disabled")
         from pypy.tool.udir import udir
         from pypy.rlib import rgc
         class X(object):



More information about the Pypy-commit mailing list