From 78642940cf4dd2022652d4f467e334085e5e8dcd Mon Sep 17 00:00:00 2001 From: Robert Bradshaw Date: Thu, 15 Oct 2009 12:49:20 -0700 Subject: [PATCH] autodict richcmp test --- tests/run/autotestdict.pyx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/run/autotestdict.pyx b/tests/run/autotestdict.pyx index 8b2d824d..2cd8d17e 100644 --- a/tests/run/autotestdict.pyx +++ b/tests/run/autotestdict.pyx @@ -91,5 +91,13 @@ cdef class MyCdefClass: False """ + def __richcmp__(self, other, int op): + """ + Should not be included, as it can't be looked up with getattr in Py 2 + + >>> True + False + """ + -- 2.26.2