Commit c89bb013 authored by Lisandro Dalcin's avatar Lisandro Dalcin

fix failing testcase in Py2 because of long suffix

parent d93d7348
...@@ -576,15 +576,15 @@ def test_DefSInt(defs.SInt x): ...@@ -576,15 +576,15 @@ def test_DefSInt(defs.SInt x):
""" """
return x return x
def test_DefUInt(defs.UInt x): def test_DefUChar(defs.UChar x):
u""" u"""
>>> test_DefUInt(-1) #doctest: +ELLIPSIS >>> test_DefUChar(-1) #doctest: +ELLIPSIS
Traceback (most recent call last): Traceback (most recent call last):
... ...
OverflowError: ... OverflowError: ...
>>> test_DefUInt(0) >>> test_DefUChar(0)
0 0
>>> test_DefUInt(1) >>> test_DefUChar(1)
1 1
""" """
return x return x
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment