Author: Ronan Lamy <[email protected]>
Branch: kill-ootype
Changeset: r65251:304d0b30077c
Date: 2013-07-07 05:15 +0200
http://bitbucket.org/pypy/pypy/changeset/304d0b30077c/

Log:    Fix rpython/jit tests

diff --git a/rpython/jit/metainterp/test/test_warmstate.py 
b/rpython/jit/metainterp/test/test_warmstate.py
--- a/rpython/jit/metainterp/test/test_warmstate.py
+++ b/rpython/jit/metainterp/test/test_warmstate.py
@@ -1,6 +1,5 @@
 from rpython.rtyper.test.test_llinterp import interpret
 from rpython.rtyper.lltypesystem import lltype, llmemory, rstr, rffi
-from rpython.rtyper.ootypesystem import ootype
 from rpython.rtyper.annlowlevel import llhelper
 from rpython.jit.metainterp.warmstate import wrap, unwrap, specialize_value
 from rpython.jit.metainterp.warmstate import equal_whatever, hash_whatever
@@ -77,16 +76,6 @@
     fn(42)
     interpret(fn, [42], type_system='lltype')
 
-def test_hash_equal_whatever_ootype():
-    def fn(c):
-        s1 = ootype.oostring("xy", -1)
-        s2 = ootype.oostring("x" + chr(c), -1)
-        assert (hash_whatever(ootype.typeOf(s1), s1) ==
-                hash_whatever(ootype.typeOf(s2), s2))
-        assert equal_whatever(ootype.typeOf(s1), s1, s2)
-    fn(ord('y'))
-    interpret(fn, [ord('y')], type_system='ootype')
-
 
 def test_make_jitcell_getter_default():
     class FakeJitDriverSD:
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to