From: Stefan Behnel Date: Fri, 21 Aug 2009 13:39:25 +0000 (+0200) Subject: Py3 test fix X-Git-Tag: 0.12.alpha0~221 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0db69eb1676a3ae4ae330f67810e03386725b5a4;p=cython.git Py3 test fix --- diff --git a/tests/run/delete.pyx b/tests/run/delete.pyx index 917df2fc..be7c40f9 100644 --- a/tests/run/delete.pyx +++ b/tests/run/delete.pyx @@ -6,16 +6,16 @@ (False, True) >>> del_item({1: 'a', 2: 'b'}, 1) {2: 'b'} ->>> del_item(range(10), 2) +>>> del_item(list(range(10)), 2) [0, 1, 3, 4, 5, 6, 7, 8, 9] >>> del_dict({1: 'a', 2: 'b'}, 1) {2: 'b'} ->>> del_list(range(5), 3) +>>> del_list(list(range(5)), 3) [0, 1, 2, 4] ->>> del_int(range(5), 3) +>>> del_int(list(range(5)), 3) [0, 1, 2, 4] ->>> del_list_int(range(5), 3) +>>> del_list_int(list(range(5)), 3) [0, 1, 2, 4] >>> del_int({-1: 'neg', 1: 'pos'}, -1) {1: 'pos'}