summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
authorSebastian Luther <SebastianLuther@gmx.de>2010-08-09 08:03:00 +0200
committerZac Medico <zmedico@gentoo.org>2010-08-12 01:17:25 -0700
commit375bb5a72982162b277ea72422297baabef94469 (patch)
tree6625288f6545a9767a249cefc520f7d0bbb88233 /pym
parentc315aefb71c12c52960b582efd24290284372e95 (diff)
downloadportage-375bb5a72982162b277ea72422297baabef94469.tar.gz
portage-375bb5a72982162b277ea72422297baabef94469.tar.bz2
portage-375bb5a72982162b277ea72422297baabef94469.zip
Tests: Fix bug in resolver/ResolverPlayground
Diffstat (limited to 'pym')
-rw-r--r--pym/portage/tests/resolver/ResolverPlayground.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/tests/resolver/ResolverPlayground.py b/pym/portage/tests/resolver/ResolverPlayground.py
index 4a714445c..f77216b56 100644
--- a/pym/portage/tests/resolver/ResolverPlayground.py
+++ b/pym/portage/tests/resolver/ResolverPlayground.py
@@ -255,7 +255,7 @@ class ResolverPlaygroundTestCase(object):
for key, value in self.checks.items():
got = getattr(result, key)
expected = value
- if key == "mergelist" and self.ignore_mergelist_order and value is not None :
+ if key == "mergelist" and self.ignore_mergelist_order and got is not None :
got = set(got)
expected = set(expected)
elif key == "unstable_keywords" and expected is not None: