[pypy-commit] pypy default: bah.

arigo noreply at buildbot.pypy.org
Fri Dec 9 09:19:21 CET 2011


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r50320:5a510c5ffc55
Date: 2011-12-09 09:18 +0100
http://bitbucket.org/pypy/pypy/changeset/5a510c5ffc55/

Log:	bah.

diff --git a/pypy/jit/metainterp/test/test_del.py b/pypy/jit/metainterp/test/test_del.py
--- a/pypy/jit/metainterp/test/test_del.py
+++ b/pypy/jit/metainterp/test/test_del.py
@@ -83,15 +83,7 @@
         self.check_resops(call=1)   # for the case B(), but not for the case A()
 
     def test_keepalive(self):
-        # Fails for now, bcause the keepalive operation doesn't become
-        # anything more than a '-live-' in the jitcodes.  We end up with
-        # operations that are reordered as follows:
-        #    - x = ll_alloc_with_del()
-        #    - setfield(x.state, state)
-        #    - setfield(state.num, 1000)
-        # but when run on CPython with reference counting, __del__ is
-        # invoked between the 2nd and the 3rd line, i.e. too early.
-        py.test.skip("XXX fails")
+        py.test.skip("XXX fails")   # hum, I think the test itself is broken
         #
         mydriver = JitDriver(reds = ['n', 'states'], greens = [])
         class State:


More information about the pypy-commit mailing list