From 0db69eb1676a3ae4ae330f67810e03386725b5a4 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Fri, 21 Aug 2009 15:39:25 +0200 Subject: [PATCH] Py3 test fix --- tests/run/delete.pyx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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'} -- 2.26.2