Author: Antonio Cuni <[email protected]>
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]
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit