~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_xml.py

(vila) Calling super() instead of mentioning the base class in setUp avoid
 mistakes. (Vincent Ladeuil)

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)