Commit d77ed0aa authored by Stefan Behnel's avatar Stefan Behnel

test fix for Py<=2.5

parent ea87ad77
...@@ -129,10 +129,9 @@ def index_pop_typed(list L, int i): ...@@ -129,10 +129,9 @@ def index_pop_typed(list L, int i):
@cython.test_fail_if_path_exists('//PythonCapiCallNode') @cython.test_fail_if_path_exists('//PythonCapiCallNode')
def crazy_pop(L): def crazy_pop(L):
""" """
>>> crazy_pop(list(range(10))) >>> crazy_pop(list(range(10))) # doctest: +ELLIPSIS
Traceback (most recent call last): Traceback (most recent call last):
... TypeError: pop... at most 1 argument...3...
TypeError: pop() takes at most 1 argument (3 given)
>>> crazy_pop(A()) >>> crazy_pop(A())
(1, 2, 3) (1, 2, 3)
""" """
......
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