~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_non_ascii.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:
89
89
            normal_thing = unicodedata.normalize('NFD', path)
90
90
            mac_encoded = normal_thing.encode(fs_enc)
91
91
            if mac_encoded != encoded:
92
 
                raise tests.KnownFailure(
 
92
                self.knownFailure(
93
93
                    'Unable to roundtrip path %r on OSX filesystem'
94
94
                    ' using encoding "%s"'
95
95
                    % (path, fs_enc))