[pypy-commit] pypy remove-dict-smm: Add failing test.

Manuel Jacob noreply at buildbot.pypy.org
Thu May 16 09:38:38 CEST 2013


Author: Manuel Jacob
Branch: remove-dict-smm
Changeset: r64217:28bfc4380e8f
Date: 2013-05-16 09:36 +0200
http://bitbucket.org/pypy/pypy/changeset/28bfc4380e8f/

Log:	Add 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
@@ -621,6 +621,9 @@
         assert d.values() == []
         assert d.keys() == []
 
+    def test_cmp_with_noncmp(self):
+        assert not {} > object()
+
 class AppTest_DictMultiObject(AppTest_DictObject):
 
     def test_emptydict_unhashable(self):


More information about the pypy-commit mailing list