[pypy-commit] pypy py3k: py3k_skip two tests which fails right now because of missing strategies

antocuni noreply at buildbot.pypy.org
Thu Apr 19 18:19:35 CEST 2012


Author: Antonio Cuni <anto.cuni at gmail.com>
Branch: py3k
Changeset: r54541:572c64c9e79a
Date: 2012-04-19 15:59 +0200
http://bitbucket.org/pypy/pypy/changeset/572c64c9e79a/

Log:	py3k_skip two tests which fails right now because of missing
	strategies

diff --git a/pypy/objspace/std/test/test_celldict.py b/pypy/objspace/std/test/test_celldict.py
--- a/pypy/objspace/std/test/test_celldict.py
+++ b/pypy/objspace/std/test/test_celldict.py
@@ -65,6 +65,7 @@
         assert "ModuleDictStrategy" in __pypy__.internal_repr(obj)
 
     def test_check_module_uses_module_dict(self):
+        py3k_skip("ModuleDictStrategy is immediately turned into ObjectDictStrategy because we use unicode keys now")
         m = type(__builtins__)("abc")
         self.impl_used(m.__dict__)
 
@@ -142,6 +143,7 @@
         assert x == ("a", 3)
 
     def test_degenerate(self):
+        py3k_skip("ModuleDictStrategy is immediately turned into ObjectDictStrategy because we use unicode keys now")
         import __pypy__
 
         d = self.d
@@ -149,4 +151,4 @@
         d["a"] = 3
         del d["a"]
         d[object()] = 5
-        assert d.values() == [5]
+        assert list(d.values()) == [5]


More information about the pypy-commit mailing list