From: Stefan Behnel Date: Sat, 17 Jul 2010 14:19:20 +0000 (+0200) Subject: test fix for Py<=2.5 X-Git-Tag: 0.13.beta0~15 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=6837211b525e042d788022ec5118742863f730f3;p=cython.git test fix for Py<=2.5 --- diff --git a/tests/run/notinop.pyx b/tests/run/notinop.pyx index 50142e23..3bc630ff 100644 --- a/tests/run/notinop.pyx +++ b/tests/run/notinop.pyx @@ -136,9 +136,9 @@ def m_unicode(Py_UNICODE a, unicode unicode_string): 1 >>> m_unicode(ord(py_klingon_character), py_unicode_string) 0 - >>> 'f' in None + >>> 'f' in None # doctest: +ELLIPSIS Traceback (most recent call last): - TypeError: argument of type 'NoneType' is not iterable + TypeError: ...iterable... >>> m_unicode(ord('f'), None) Traceback (most recent call last): TypeError: argument of type 'NoneType' is not iterable