[pypy-commit] pypy py3k: Remove test which doesn't make sense on py3k.

mjacob noreply at buildbot.pypy.org
Thu May 21 01:57:14 CEST 2015


Author: Manuel Jacob <me at manueljacob.de>
Branch: py3k
Changeset: r77442:49893516c855
Date: 2015-05-21 00:54 +0200
http://bitbucket.org/pypy/pypy/changeset/49893516c855/

Log:	Remove test which doesn't make sense on py3k.

diff --git a/pypy/objspace/std/test/test_typeobject.py b/pypy/objspace/std/test/test_typeobject.py
--- a/pypy/objspace/std/test/test_typeobject.py
+++ b/pypy/objspace/std/test/test_typeobject.py
@@ -1257,11 +1257,3 @@
         assert type.__ne__(dict, 42) is NotImplemented
         assert type.__eq__(int, int) is True
         assert type.__eq__(int, dict) is False
-
-    def test_cmp_on_types(self):
-        class X(type):
-            def __cmp__(self, other):
-                return -1
-        class Y:
-            __metaclass__ = X
-        assert (Y < Y) is True


More information about the pypy-commit mailing list