~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_pack.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:
73
73
class TestContainerWriter(tests.TestCase):
74
74
 
75
75
    def setUp(self):
76
 
        tests.TestCase.setUp(self)
 
76
        super(TestContainerWriter, self).setUp()
77
77
        self.output = StringIO()
78
78
        self.writer = pack.ContainerWriter(self.output.write)
79
79