164
164
def test_non_ascii(self):
165
165
"""Test that we can output non-ascii data"""
167
167
commit_message = u'Non-ascii message with character not in latin-1: \u1234'
169
169
tree = self.make_branch_and_tree('.')
170
170
self.build_tree(['a_file'])
172
172
tree.commit(commit_message)
174
174
['version-info', '--include-history'], encoding='latin-1')
176
176
self.assertContainsString(out, commit_message.encode('utf-8'))