Merge lp:~jelmer/bzrtools/unicode-feature into lp:bzrtools

Proposed by Jelmer Vernooij
Status: Merged
Merged at revision: 770
Proposed branch: lp:~jelmer/bzrtools/unicode-feature
Merge into: lp:bzrtools
Diff against target: 19 lines (+2/-0)
1 file modified
tests/upstream_import.py (+2/-0)
To merge this branch: bzr merge lp:~jelmer/bzrtools/unicode-feature
Reviewer Review Type Date Requested Status
Aaron Bentley Pending
Review via email: mp+64104@code.launchpad.net

Description of the change

Skip test_nonascii_paths on platforms that don't support unicode filenames.

To post a comment you must log in.
Revision history for this message
Aaron Bentley (abentley) wrote :

Thanks! Merged.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'tests/upstream_import.py'
2--- tests/upstream_import.py 2011-05-10 01:44:18 +0000
3+++ tests/upstream_import.py 2011-06-10 00:24:31 +0000
4@@ -24,6 +24,7 @@
5 from bzrlib.tests import (
6 TestCaseInTempDir,
7 TestCaseWithTransport,
8+ UnicodeFilenameFeature,
9 )
10
11
12@@ -273,6 +274,7 @@
13 return tt
14
15 def test_nonascii_paths(self):
16+ self.requireFeature(UnicodeFilenameFeature)
17 tt = self.get_empty_tt()
18 encoded_file = tt.new_file(
19 u'\u1234file', tt.root, 'contents', 'new-file')

Subscribers

People subscribed via source and target branches