From: Lisandro Dalcin Date: Thu, 8 Oct 2009 22:48:00 +0000 (-0300) Subject: fix failing testcase in Py2 because of long suffix X-Git-Tag: 0.13.beta0~2^2~121^2~99^2~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c89bb0139ee3280ab71e34ede5d2199ffca2e5e9;p=cython.git fix failing testcase in Py2 because of long suffix --- diff --git a/tests/run/ctypedef_int_types_T333.pyx b/tests/run/ctypedef_int_types_T333.pyx index 5d2f1c06..65963d01 100644 --- a/tests/run/ctypedef_int_types_T333.pyx +++ b/tests/run/ctypedef_int_types_T333.pyx @@ -576,15 +576,15 @@ def test_DefSInt(defs.SInt x): """ return x -def test_DefUInt(defs.UInt x): +def test_DefUChar(defs.UChar x): u""" - >>> test_DefUInt(-1) #doctest: +ELLIPSIS + >>> test_DefUChar(-1) #doctest: +ELLIPSIS Traceback (most recent call last): ... OverflowError: ... - >>> test_DefUInt(0) + >>> test_DefUChar(0) 0 - >>> test_DefUInt(1) + >>> test_DefUChar(1) 1 """ return x