~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_repository/test_repository.py

  • Committer: Martin
  • Date: 2011-08-04 00:17:53 UTC
  • mto: This revision was merged to the branch mainline in revision 6055.
  • Revision ID: gzlist@googlemail.com-20110804001753-plgpwcpsxcum16yb
Make tests raising KnownFailure use the knownFailure method instead

Show diffs side-by-side

added added

removed removed

Lines of Context:
691
691
        except errors.IncompatibleFormat:
692
692
            raise tests.TestNotApplicable('Cannot make a shared repository')
693
693
        if repo.bzrdir._format.fixed_components:
694
 
            raise tests.KnownFailure(
 
694
            self.knownFailure(
695
695
                "pre metadir branches do not upgrade on push "
696
696
                "with stacking policy")
697
697
        if isinstance(repo._format,