Author: Antonio Cuni <[email protected]>
Branch: py3k
Changeset: r57772:824cb5f4ce81
Date: 2012-10-03 16:06 +0200
http://bitbucket.org/pypy/pypy/changeset/824cb5f4ce81/

Log:    a failing test

diff --git a/pypy/objspace/std/test/test_dictmultiobject.py 
b/pypy/objspace/std/test/test_dictmultiobject.py
--- a/pypy/objspace/std/test/test_dictmultiobject.py
+++ b/pypy/objspace/std/test/test_dictmultiobject.py
@@ -828,6 +828,14 @@
         assert not d.items() != frozenset({(1, 'a'), (2, 'b'), (3, 'c')})
         assert not frozenset({(1, 'a'), (2, 'b'), (3, 'c')}) != d.items()
 
+    def test_dictviewset_unshasable_values(self):
+        class C:
+            def __eq__(self, other):
+                return True
+        d = {1: C()}
+        assert d.items() <= d.items()
+
+
     def test_keys_items_contained(self):
         def helper(fn):
             empty = fn(dict())
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to