From 375bb5a72982162b277ea72422297baabef94469 Mon Sep 17 00:00:00 2001 From: Sebastian Luther Date: Mon, 9 Aug 2010 08:03:00 +0200 Subject: [PATCH] Tests: Fix bug in resolver/ResolverPlayground --- pym/portage/tests/resolver/ResolverPlayground.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.26.2