~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to tests/upstream_import.py

  • Committer: Aaron Bentley
  • Date: 2011-06-10 00:54:13 UTC
  • mfrom: (769.1.1 unicode-feature)
  • Revision ID: aaron@aaronbentley.com-20110610005413-re8o7dxxqlh11u7s
Skip unicode test on non-unicode platforms.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
from bzrlib.tests import (
25
25
    TestCaseInTempDir,
26
26
    TestCaseWithTransport,
 
27
    UnicodeFilenameFeature,
27
28
    )
28
29
 
29
30
 
273
274
        return tt
274
275
 
275
276
    def test_nonascii_paths(self):
 
277
        self.requireFeature(UnicodeFilenameFeature)
276
278
        tt = self.get_empty_tt()
277
279
        encoded_file = tt.new_file(
278
280
            u'\u1234file', tt.root, 'contents', 'new-file')