~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_bzrdir/__init__.py

  • Committer: Patch Queue Manager
  • Date: 2015-12-17 18:39:00 UTC
  • mfrom: (6606.1.2 fix-float)
  • Revision ID: pqm@pqm.ubuntu.com-20151217183900-0719du2uv1kwu3lc
(vila) Inline testtools private method to fix an issue in xenial (the
 private implementation has changed in an backward incompatible way).
 (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
            self.bzrdir = self.make_bzrdir(None)
50
50
        return self.bzrdir
51
51
 
52
 
    def make_bzrdir(self, relpath, format=None):
53
 
        if format is None:
54
 
            format = self.bzrdir_format
55
 
        return super(TestCaseWithBzrDir, self).make_bzrdir(
56
 
            relpath, format=format)
 
52
    def get_default_format(self):
 
53
        return self.bzrdir_format
57
54
 
58
55
 
59
56
def load_tests(standard_tests, module, loader):