Commit 9bc7db3d authored by Stefan Behnel's avatar Stefan Behnel

Fix test output for Py2 (where long ints end with "L").

parent 389ba104
...@@ -205,7 +205,7 @@ def call_exception_default(raise_exc=False): ...@@ -205,7 +205,7 @@ def call_exception_default(raise_exc=False):
@cython.ccall @cython.ccall
def exception_default_uint(raise_exc : cython.bint = False) -> cython.uint: def exception_default_uint(raise_exc : cython.bint = False) -> cython.uint:
""" """
>>> exception_default_uint(raise_exc=False) >>> print(exception_default_uint(raise_exc=False))
10 10
>>> exception_default_uint(raise_exc=True) >>> exception_default_uint(raise_exc=True)
Traceback (most recent call last): Traceback (most recent call last):
...@@ -218,7 +218,7 @@ def exception_default_uint(raise_exc : cython.bint = False) -> cython.uint: ...@@ -218,7 +218,7 @@ def exception_default_uint(raise_exc : cython.bint = False) -> cython.uint:
def call_exception_default_uint(raise_exc=False): def call_exception_default_uint(raise_exc=False):
""" """
>>> call_exception_default_uint(raise_exc=False) >>> print(call_exception_default_uint(raise_exc=False))
10 10
>>> call_exception_default_uint(raise_exc=True) >>> call_exception_default_uint(raise_exc=True)
Traceback (most recent call last): Traceback (most recent call last):
......
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