merge_order_assertions: fix string format error
authorZac Medico <zmedico@gentoo.org>
Sat, 21 May 2011 10:34:30 +0000 (03:34 -0700)
committerZac Medico <zmedico@gentoo.org>
Thu, 26 May 2011 03:47:11 +0000 (20:47 -0700)
pym/portage/tests/resolver/ResolverPlayground.py

index fbd4c19a43d9cc4c071affe8abab3d2434500292..12037f79025bc533dee1b2be0e31b45fd600a908 100644 (file)
@@ -578,7 +578,8 @@ class ResolverPlaygroundTestCase(object):
                                                                fail_msgs.append("atoms: (" + \
                                                                        ", ".join(result.atoms) + "), key: " + \
                                                                        ("merge_order_assertions, expected: %s" % \
-                                                                       (node1, node2)) + ", got: " + str(got))
+                                                                       str((node1, node2))) + \
+                                                                       ", got: " + str(got))
 
                        elif key == "unstable_keywords" and expected is not None:
                                expected = set(expected)