~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_osutils.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:
1771
1771
    _native_to_unicode = None
1772
1772
 
1773
1773
    def setUp(self):
1774
 
        tests.TestCaseInTempDir.setUp(self)
 
1774
        super(TestDirReader, self).setUp()
1775
1775
        self.overrideAttr(osutils,
1776
1776
                          '_selected_dir_reader', self._dir_reader_class())
1777
1777
 
2072
2072
    _test_needs_features = [features.chown_feature]
2073
2073
 
2074
2074
    def setUp(self):
2075
 
        tests.TestCaseInTempDir.setUp(self)
 
2075
        super(TestCreationOps, self).setUp()
2076
2076
        self.overrideAttr(os, 'chown', self._dummy_chown)
2077
2077
 
2078
2078
        # params set by call to _dummy_chown