~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_lazy_import.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:
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