From: Mike Frysinger Date: Wed, 27 Nov 2013 03:23:58 +0000 (-0500) Subject: test_slot_conflict_rebuild: drop pointless list cast X-Git-Tag: v2.2.8~44 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=cdd47fc0b6b7274f0591bdd9c18ae7a47c44e733;p=portage.git test_slot_conflict_rebuild: drop pointless list cast The range() func already returns a list, so need for list(). --- diff --git a/pym/portage/tests/resolver/test_slot_conflict_rebuild.py b/pym/portage/tests/resolver/test_slot_conflict_rebuild.py index 0fe8f5dc4..96cc8f1bd 100644 --- a/pym/portage/tests/resolver/test_slot_conflict_rebuild.py +++ b/pym/portage/tests/resolver/test_slot_conflict_rebuild.py @@ -142,7 +142,7 @@ class SlotConflictRebuildTestCase(TestCase): expected_mergelist = ['app-misc/A-1', 'app-misc/B-2'] - for i in list(range(5)): + for i in range(5): ebuilds["app-misc/C%sC-1" % i] = { "EAPI": "5", "DEPEND": "app-misc/B:=",