Rev 2481: fix up indenting in pformat of inequalities displayed by test suite in http://sourcefrog.net/bzr/run-hooks

Martin Pool mbp at sourcefrog.net
Fri May 4 10:51:20 BST 2007


At http://sourcefrog.net/bzr/run-hooks

------------------------------------------------------------
revno: 2481
revision-id: mbp at sourcefrog.net-20070504095119-sxlhgb1tmxjflj09
parent: mbp at sourcefrog.net-20070504093112-f1z86tjzulf1lz95
committer: Martin Pool <mbp at sourcefrog.net>
branch nick: run-hooks
timestamp: Fri 2007-05-04 19:51:19 +1000
message:
  fix up indenting in pformat of inequalities displayed by test suite
modified:
  bzrlib/tests/__init__.py       selftest.py-20050531073622-8d0e3c8845c97a64
=== modified file 'bzrlib/tests/__init__.py'
--- a/bzrlib/tests/__init__.py	2007-04-26 09:07:38 +0000
+++ b/bzrlib/tests/__init__.py	2007-05-04 09:51:19 +0000
@@ -823,7 +823,7 @@
             message += '\n'
         raise AssertionError("%snot equal:\na = %s\nb = %s\n"
             % (message,
-               pformat(a, indent=4), pformat(b, indent=4)))
+               pformat(a), pformat(b)))
 
     assertEquals = assertEqual
 




More information about the bazaar-commits mailing list