From: Stefan Behnel Date: Sat, 17 Jul 2010 14:24:36 +0000 (+0200) Subject: test fix for Py<=2.5 X-Git-Tag: 0.13.beta0~13 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d77ed0aa6321dc2f32cfdd029ea687e094295606;p=cython.git test fix for Py<=2.5 --- diff --git a/tests/run/list_pop.pyx b/tests/run/list_pop.pyx index 15161867..d1cf062e 100644 --- a/tests/run/list_pop.pyx +++ b/tests/run/list_pop.pyx @@ -129,10 +129,9 @@ def index_pop_typed(list L, int i): @cython.test_fail_if_path_exists('//PythonCapiCallNode') def crazy_pop(L): """ - >>> crazy_pop(list(range(10))) + >>> crazy_pop(list(range(10))) # doctest: +ELLIPSIS Traceback (most recent call last): - ... - TypeError: pop() takes at most 1 argument (3 given) + TypeError: pop... at most 1 argument...3... >>> crazy_pop(A()) (1, 2, 3) """