From d77ed0aa6321dc2f32cfdd029ea687e094295606 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Sat, 17 Jul 2010 16:24:36 +0200 Subject: [PATCH] test fix for Py<=2.5 --- tests/run/list_pop.pyx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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) """ -- 2.26.2