[pypy-commit] pypy kill-unary-multimethods: fix a test

fijal noreply at buildbot.pypy.org
Tue Sep 27 23:06:16 CEST 2011


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: kill-unary-multimethods
Changeset: r47641:60af74daa81d
Date: 2011-09-27 18:05 -0300
http://bitbucket.org/pypy/pypy/changeset/60af74daa81d/

Log:	fix a test

diff --git a/pypy/module/pypyjit/test/test_policy.py b/pypy/module/pypyjit/test/test_policy.py
--- a/pypy/module/pypyjit/test/test_policy.py
+++ b/pypy/module/pypyjit/test/test_policy.py
@@ -3,8 +3,8 @@
 pypypolicy = policy.PyPyJitPolicy()
 
 def test_id_any():
-    from pypy.objspace.std.default import id__ANY
-    assert pypypolicy.look_inside_function(id__ANY)
+    from pypy.objspace.std.intobject import add__Int_Int
+    assert pypypolicy.look_inside_function(add__Int_Int)
 
 def test_bigint():
     from pypy.rlib.rbigint import rbigint


More information about the pypy-commit mailing list