From c89bb0139ee3280ab71e34ede5d2199ffca2e5e9 Mon Sep 17 00:00:00 2001 From: Lisandro Dalcin Date: Thu, 8 Oct 2009 19:48:00 -0300 Subject: [PATCH] fix failing testcase in Py2 because of long suffix --- tests/run/ctypedef_int_types_T333.pyx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 -- 2.26.2