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>
Sun, 22 May 2011 09:05:15 +0000 (02:05 -0700)
pym/portage/tests/resolver/ResolverPlayground.py

index 48ce6e74a59dddb6c01e9e4e3acc6a731d6e3df4..39576f1ae749a3f1e2a7e7749c30b4e6dd30ebbf 100644 (file)
@@ -548,12 +548,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: