summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2012-05-12 12:27:17 -0700
committerZac Medico <zmedico@gentoo.org>2012-05-12 12:30:12 -0700
commitb4722008c1bf425a334c885be0a93535dcb88b36 (patch)
treebaa639768cb4872a48ec4fbf8ad0b61e4032a7de /pym
parent0252e07f4ddf0dfe843d02160b3853696a02af32 (diff)
downloadportage-b4722008c1bf425a334c885be0a93535dcb88b36.tar.gz
portage-b4722008c1bf425a334c885be0a93535dcb88b36.tar.bz2
portage-b4722008c1bf425a334c885be0a93535dcb88b36.zip
test_stackLists: fix for PYTHONHASHSEED="random"
Diffstat (limited to 'pym')
-rw-r--r--pym/portage/tests/util/test_stackLists.py4
1 files 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]) )