~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_conflicts.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:
971
971
        if self._other['xfail']:
972
972
            # It's a bit hackish to raise from here relying on being called for
973
973
            # both tests but this avoid overriding test_resolve_taking_other
974
 
            raise tests.KnownFailure(
 
974
            self.knownFailure(
975
975
                "ParentLoop doesn't carry enough info to resolve --take-other")
976
976
    _assert_conflict = assertParentLoop
977
977