python-modernize -f libmodernize.fixes.fix_dict_six

This commit is contained in:
Tomas Kopecek 2018-06-28 16:54:03 +02:00 committed by Mike McLean
parent b96092334d
commit bcee24e50c
20 changed files with 130 additions and 112 deletions

View file

@ -487,7 +487,7 @@ Finished: Thu Jan 1 00:50:00 1970
}
# need ordered dict to get same results
files = collections.OrderedDict(sorted(files.items(),
files = collections.OrderedDict(sorted(list(files.items()),
key=lambda t: t[0]))
list_task_output_mock.side_effect = [[], files, {}]