Rev 4502: Use KnownFailure so that XFAIL tests are displayed. in file:///net/bigmamac.local/Volumes/home/vila/src/bzr/bugs/394190-osx-test-failures/
Vincent Ladeuil
v.ladeuil+lp at free.fr
Mon Jul 6 08:44:13 BST 2009
At file:///net/bigmamac.local/Volumes/home/vila/src/bzr/bugs/394190-osx-test-failures/
------------------------------------------------------------
revno: 4502
revision-id: v.ladeuil+lp at free.fr-20090706074410-nfl2c2ptx2ijpof1
parent: v.ladeuil+lp at free.fr-20090702160406-jpacu9onma20r7v0
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: 394190-osx-test-failures
timestamp: Mon 2009-07-06 09:44:10 +0200
message:
Use KnownFailure so that XFAIL tests are displayed.
* bzrlib/tests/blackbox/test_non_ascii.py:
(TestNonAscii._check_OSX_can_roundtrip): Raise KnownFailure
instead of TestSkipped to give better exposure.
-------------- next part --------------
=== modified file 'bzrlib/tests/blackbox/test_non_ascii.py'
--- a/bzrlib/tests/blackbox/test_non_ascii.py 2009-07-02 16:04:06 +0000
+++ b/bzrlib/tests/blackbox/test_non_ascii.py 2009-07-06 07:44:10 +0000
@@ -94,7 +94,7 @@
normal_thing = unicodedata.normalize('NFD', path)
mac_encoded = normal_thing.encode(fs_enc)
if mac_encoded != encoded:
- raise tests.TestSkipped(
+ raise tests.KnownFailure(
'Unable to roundtrip path %r on OSX filesystem'
' using encoding "%s"'
% (path, fs_enc))
More information about the bazaar-commits
mailing list