~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_commit.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-09-23 09:00:18 UTC
  • mfrom: (5439.1.1 merge-2.2-into-devel)
  • Revision ID: pqm@pqm.ubuntu.com-20100923090018-01aj4ifyzaps50bo
(spiv) Merge lp:bzr/2.2. (Andrew Bennetts)

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
from bzrlib.tests import (
34
34
    probe_bad_non_ascii,
35
35
    TestSkipped,
 
36
    UnicodeFilenameFeature,
36
37
    )
37
38
from bzrlib.tests import TestCaseWithTransport
38
39
 
112
113
    def test_unicode_commit_message_is_filename(self):
113
114
        """Unicode commit message same as a filename (Bug #563646).
114
115
        """
 
116
        self.requireFeature(UnicodeFilenameFeature)
115
117
        file_name = u'\N{euro sign}'
116
118
        self.run_bzr(['init'])
117
119
        open(file_name, 'w').write('hello world')