Commit d64a080f authored by Robert Bradshaw's avatar Robert Bradshaw

Ellipsis for overflow error.

parent 454d5be2
...@@ -41,10 +41,10 @@ def test_int_vector(o): ...@@ -41,10 +41,10 @@ def test_int_vector(o):
[1, 2, 3] [1, 2, 3]
>>> test_int_vector((1, 10, 100)) >>> test_int_vector((1, 10, 100))
[1, 10, 100] [1, 10, 100]
>>> test_int_vector([10**20]) >>> test_int_vector([10**20]) #doctest: +ELLIPSIS
Traceback (most recent call last): Traceback (most recent call last):
... ...
OverflowError: Python int too large to convert to C long OverflowError: ...
""" """
cdef vector[int] v = o cdef vector[int] v = o
return v return v
......
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