From: Zac Medico Date: Sat, 12 May 2012 19:27:17 +0000 (-0700) Subject: test_stackLists: fix for PYTHONHASHSEED="random" X-Git-Tag: v2.2.0_alpha105~47 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b4722008c1bf425a334c885be0a93535dcb88b36;p=portage.git test_stackLists: fix for PYTHONHASHSEED="random" --- diff --git a/pym/portage/tests/util/test_stackLists.py b/pym/portage/tests/util/test_stackLists.py index 8d01ea5ac..e52477255 100644 --- a/pym/portage/tests/util/test_stackLists.py +++ b/pym/portage/tests/util/test_stackLists.py @@ -1,5 +1,5 @@ # test_stackLists.py -- Portage Unit Testing Functionality -# Copyright 2006 Gentoo Foundation +# Copyright 2006-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 from portage.tests import TestCase @@ -16,4 +16,4 @@ class StackListsTestCase(TestCase): for test in tests: result = stack_lists( test[0], test[2] ) - self.assertEqual( result , test[1] ) + self.assertEqual( set(result) , set(test[1]) )