~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_xml.py

  • Committer: Vincent Ladeuil
  • Date: 2012-08-04 14:27:47 UTC
  • mto: This revision was merged to the branch mainline in revision 6553.
  • Revision ID: v.ladeuil+lp@free.fr-20120804142747-2t498paljijf7q7y
Remaining tests matching setup(self) that can be rewritten with super().

Show diffs side-by-side

added added

removed removed

Lines of Context:
500
500
    """Whitebox testing of the _encode_and_escape function."""
501
501
 
502
502
    def setUp(self):
503
 
        TestCase.setUp(self)
 
503
        super(TestEncodeAndEscape, self).setUp()
504
504
        # Keep the cache clear before and after the test
505
505
        bzrlib.xml_serializer._clear_cache()
506
506
        self.addCleanup(bzrlib.xml_serializer._clear_cache)