Commit 0db69eb1 authored by Stefan Behnel's avatar Stefan Behnel

Py3 test fix

parent 8ba61dc5
...@@ -6,16 +6,16 @@ ...@@ -6,16 +6,16 @@
(False, True) (False, True)
>>> del_item({1: 'a', 2: 'b'}, 1) >>> del_item({1: 'a', 2: 'b'}, 1)
{2: 'b'} {2: 'b'}
>>> del_item(range(10), 2) >>> del_item(list(range(10)), 2)
[0, 1, 3, 4, 5, 6, 7, 8, 9] [0, 1, 3, 4, 5, 6, 7, 8, 9]
>>> del_dict({1: 'a', 2: 'b'}, 1) >>> del_dict({1: 'a', 2: 'b'}, 1)
{2: 'b'} {2: 'b'}
>>> del_list(range(5), 3) >>> del_list(list(range(5)), 3)
[0, 1, 2, 4] [0, 1, 2, 4]
>>> del_int(range(5), 3) >>> del_int(list(range(5)), 3)
[0, 1, 2, 4] [0, 1, 2, 4]
>>> del_list_int(range(5), 3) >>> del_list_int(list(range(5)), 3)
[0, 1, 2, 4] [0, 1, 2, 4]
>>> del_int({-1: 'neg', 1: 'pos'}, -1) >>> del_int({-1: 'neg', 1: 'pos'}, -1)
{1: 'pos'} {1: 'pos'}
......
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