From cdd47fc0b6b7274f0591bdd9c18ae7a47c44e733 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 26 Nov 2013 22:23:58 -0500 Subject: [PATCH] test_slot_conflict_rebuild: drop pointless list cast The range() func already returns a list, so need for list(). --- pym/portage/tests/resolver/test_slot_conflict_rebuild.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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:=", -- 2.26.2