[pypy-svn] r13833 - pypy/dist/pypy/rpython/test

hpk at codespeak.net hpk at codespeak.net
Sat Jun 25 10:30:36 CEST 2005


Author: hpk
Date: Sat Jun 25 10:30:35 2005
New Revision: 13833

Modified:
   pypy/dist/pypy/rpython/test/test_rpbc.py
Log:
XXX is actually resolved already (we generalize 
PBCs passed in to a specialize:memo'd function 
unconditionally, so we don't need no magic 
'fr.x' accesses to trigger it) 



Modified: pypy/dist/pypy/rpython/test/test_rpbc.py
==============================================================================
--- pypy/dist/pypy/rpython/test/test_rpbc.py	(original)
+++ pypy/dist/pypy/rpython/test/test_rpbc.py	Sat Jun 25 10:30:35 2005
@@ -163,11 +163,10 @@
             fr = fr1
         else:
             fr = fr2
-        # XXX this should work without fr.x
-        return getorbuild(fr) + fr.x
+        return getorbuild(fr)
 
     ev_f1 = make_interpreter(f1, [0])#, viewbefore=True)
     res = ev_f1(0)
-    assert res == 8
+    assert res == 7
     res = ev_f1(1)
     assert res == 3



More information about the Pypy-commit mailing list