From: Sebastian Luther Date: Mon, 9 Aug 2010 06:03:00 +0000 (+0200) Subject: Tests: Fix bug in resolver/ResolverPlayground X-Git-Tag: v2.2_rc68~278 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=375bb5a72982162b277ea72422297baabef94469;p=portage.git Tests: Fix bug in resolver/ResolverPlayground --- 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: