tests: avoid repr in test-bundle2-format.t
authorAugie Fackler <augie@google.com>
Mon, 18 Sep 2017 14:19:47 -0400
changeset 34282 3e92322d3b1f
parent 34281 c9eabc37bb98
child 34283 f94442d46984
tests: avoid repr in test-bundle2-format.t We don't *really* need it here, and it was making Python 3 harder.
tests/test-bundle2-format.t
--- a/tests/test-bundle2-format.t	Mon Sep 18 14:04:05 2017 -0400
+++ b/tests/test-bundle2-format.t	Mon Sep 18 14:19:47 2017 -0400
@@ -68,9 +68,9 @@
   >     else:
   >         op.ui.write(b'debugreply: capabilities:\n')
   >         for cap in sorted(op.reply.capabilities):
-  >             op.ui.write(b'debugreply:     %r\n' % cap)
+  >             op.ui.write(b"debugreply:     '%s'\n" % cap)
   >             for val in op.reply.capabilities[cap]:
-  >                 op.ui.write(b'debugreply:         %r\n' % val)
+  >                 op.ui.write(b"debugreply:         '%s'\n" % val)
   > 
   > @command(b'bundle2',
   >          [(b'', b'param', [], b'stream level parameter'),