1071
1071
# as downgrades may not be available
1072
1072
old_format = bzrdir.BzrDirFormat.get_default_format()
1073
1073
bzrdir.BzrDirFormat.set_default_format(dir._format)
1078
1078
bzrdir.BzrDirFormat.set_default_format(old_format)
1079
1080
# and it should pass 'check' now.
1080
1081
check(bzrdir.BzrDir.open(self.get_url('.')).open_branch(), False)