From 6837211b525e042d788022ec5118742863f730f3 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Sat, 17 Jul 2010 16:19:20 +0200 Subject: [PATCH] test fix for Py<=2.5 --- tests/run/notinop.pyx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.26.2