[pypy-commit] pypy default: Fix this test

arigo noreply at buildbot.pypy.org
Mon Dec 15 17:37:16 CET 2014


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r74942:db87f8d3abb8
Date: 2014-12-15 16:37 +0000
http://bitbucket.org/pypy/pypy/changeset/db87f8d3abb8/

Log:	Fix this test

diff --git a/rpython/rtyper/lltypesystem/rordereddict.py b/rpython/rtyper/lltypesystem/rordereddict.py
--- a/rpython/rtyper/lltypesystem/rordereddict.py
+++ b/rpython/rtyper/lltypesystem/rordereddict.py
@@ -72,6 +72,8 @@
         'must_clear_value': (isinstance(DICTVALUE, lltype.Ptr)
                              and DICTVALUE._needsgc()),
         }
+    if getattr(ll_eq_function, 'no_direct_compare', False):
+        entrymeths['no_direct_compare'] = True
 
     # * the key
     entryfields.append(("key", DICTKEY))
diff --git a/rpython/rtyper/test/test_rordereddict.py b/rpython/rtyper/test/test_rordereddict.py
--- a/rpython/rtyper/test/test_rordereddict.py
+++ b/rpython/rtyper/test/test_rordereddict.py
@@ -292,9 +292,6 @@
         res = self.interpret(func, [5])
         assert res == 6
 
-    def test_dict_with_SHORT_keys(self):
-        py.test.skip("I don't want to edit this file on two branches")
-
     def test_memoryerror_should_not_insert(self):
         py.test.skip("I don't want to edit this file on two branches")
 


More information about the pypy-commit mailing list