fix failing testcase in Py2 because of long suffix
authorLisandro Dalcin <dalcinl@gmail.com>
Thu, 8 Oct 2009 22:48:00 +0000 (19:48 -0300)
committerLisandro Dalcin <dalcinl@gmail.com>
Thu, 8 Oct 2009 22:48:00 +0000 (19:48 -0300)
tests/run/ctypedef_int_types_T333.pyx

index 5d2f1c06a1a9103f68e752ed95e1d204ac3f392a..65963d01cf22aeb85cacd233beef16668d754fd3 100644 (file)
@@ -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