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