~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_smart_transport.py

  • Committer: Vincent Ladeuil
  • Date: 2012-08-04 11:16:14 UTC
  • mto: This revision was merged to the branch mainline in revision 6553.
  • Revision ID: v.ladeuil+lp@free.fr-20120804111614-qvkz61424f4u1j0a
Use super() instead of calling <base>.setup(self), as the original fix illustrated a too-easy-to-fall-into trap.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3388
3388
    """
3389
3389
 
3390
3390
    def setUp(self):
3391
 
        tests.TestCase.setUp(self)
 
3391
        super(TestResponseEncoderBufferingProtocolThree, self).setUp()
3392
3392
        self.writes = []
3393
3393
        self.responder = protocol.ProtocolThreeResponder(self.writes.append)
3394
3394