Commit 82c90b61 authored by Robert Bradshaw's avatar Robert Bradshaw

Add ellipsis to doctests.

parent 466b4e9d
...@@ -122,11 +122,11 @@ def test_typedef_vector(o): ...@@ -122,11 +122,11 @@ def test_typedef_vector(o):
""" """
>>> test_typedef_vector([1, 2, 3]) >>> test_typedef_vector([1, 2, 3])
[1, 2, 3] [1, 2, 3]
>>> test_typedef_vector([1, 2, 3**100]) >>> test_typedef_vector([1, 2, 3**100]) #doctest: +ELLIPSIS
Traceback (most recent call last): Traceback (most recent call last):
... ...
OverflowError: ... OverflowError: ...
>>> test_typedef_vector([1, 2, None]) >>> test_typedef_vector([1, 2, None]) #doctest: +ELLIPSIS
Traceback (most recent call last): Traceback (most recent call last):
... ...
TypeError: an integer is required TypeError: an integer is required
......
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