From b4722008c1bf425a334c885be0a93535dcb88b36 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 12 May 2012 12:27:17 -0700 Subject: [PATCH] test_stackLists: fix for PYTHONHASHSEED="random" --- pym/portage/tests/util/test_stackLists.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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]) ) -- 2.26.2