ambiguous_merge_order: set match = False more
authorZac Medico <zmedico@gentoo.org>
Sun, 22 May 2011 09:05:15 +0000 (02:05 -0700)
committerZac Medico <zmedico@gentoo.org>
Thu, 26 May 2011 03:51:46 +0000 (20:51 -0700)
pym/portage/tests/resolver/ResolverPlayground.py

index ff502778bd84d368db88ce36c7ff572c9688c216..4a04dc0e119f473f01d8c847e94f167e240a1117 100644 (file)
@@ -541,12 +541,14 @@ class ResolverPlaygroundTestCase(object):
                                                        if got_token == expected_obj:
                                                                continue
                                                        # result doesn't match, so stop early
+                                                       match = False
                                                        break
                                                expected_obj = set(expected_obj)
                                                try:
                                                        expected_obj.remove(got_token)
                                                except KeyError:
                                                        # result doesn't match, so stop early
+                                                       match = False
                                                        break
                                                new_expected.append(got_token)
                                                while got_stack and expected_obj: