~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_lazy_import.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:
94
94
    """
95
95
 
96
96
    def setUp(self):
97
 
        TestCase.setUp(self)
 
97
        super(TestScopeReplacer, self).setUp()
98
98
        # These tests assume we will not be proxying, so make sure proxying is
99
99
        # disabled.
100
100
        orig_proxy = lazy_import.ScopeReplacer._should_proxy
456
456
    """Test the ability to have a lazily imported module or object"""
457
457
 
458
458
    def setUp(self):
459
 
        TestCaseInTempDir.setUp(self)
 
459
        super(ImportReplacerHelper, self).setUp()
460
460
        self.create_modules()
461
461
        base_path = self.test_dir + '/base'
462
462