Rev 5578: Merge cleanup into even-better-isolation in file:///home/vila/src/bzr/bugs/test-isolation/

Vincent Ladeuil v.ladeuil+lp at free.fr
Sat Dec 18 10:22:18 GMT 2010


At file:///home/vila/src/bzr/bugs/test-isolation/

------------------------------------------------------------
revno: 5578 [merge]
revision-id: v.ladeuil+lp at free.fr-20101218102218-rw1z76p1oosoygus
parent: v.ladeuil+lp at free.fr-20101218101925-cb0qev0gc4k9m7hh
parent: v.ladeuil+lp at free.fr-20101218102152-zryivizoe2l4e3ds
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: even-better-isolation
timestamp: Sat 2010-12-18 11:22:18 +0100
message:
  Merge cleanup into even-better-isolation
modified:
  bzrlib/tests/TestUtil.py       TestUtil.py-20050824080200-5f70140a2d938694
-------------- next part --------------
=== modified file 'bzrlib/tests/TestUtil.py'
--- a/bzrlib/tests/TestUtil.py	2010-09-21 03:20:09 +0000
+++ b/bzrlib/tests/TestUtil.py	2010-12-18 10:21:52 +0000
@@ -29,9 +29,11 @@
 
 
 class LogCollector(logging.Handler):
+
     def __init__(self):
         logging.Handler.__init__(self)
         self.records=[]
+
     def emit(self, record):
         self.records.append(record.getMessage())
 
@@ -60,7 +62,8 @@
                 visitor.visitSuite(test)
                 visitTests(test, visitor)
             else:
-                print "unvisitable non-unittest.TestCase element %r (%r)" % (test, test.__class__)
+                print "unvisitable non-unittest.TestCase element %r (%r)" % (
+                    test, test.__class__)
 
 
 class TestSuite(unittest.TestSuite):
@@ -183,7 +186,9 @@
 
 class TestVisitor(object):
     """A visitor for Tests"""
+
     def visitSuite(self, aTestSuite):
         pass
+
     def visitCase(self, aTestCase):
         pass



More information about the bazaar-commits mailing list