~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_nonascii.py

  • Committer: Robert Collins
  • Date: 2007-07-04 08:08:13 UTC
  • mfrom: (2572 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2587.
  • Revision ID: robertc@robertcollins.net-20070704080813-wzebx0r88fvwj5rq
Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2005 by Canonical Ltd
 
1
# Copyright (C) 2005 Canonical Ltd
2
2
#
3
3
# This program is free software; you can redistribute it and/or modify
4
4
# it under the terms of the GNU General Public License as published by
123
123
        # route, and maintains the right files
124
124
        files = [a_circle_c+'.1', a_dots_c+'.2', z_umlat_c+'.3']
125
125
        try:
126
 
            self.build_tree(files)
 
126
            self.build_tree(files, line_endings='native')
127
127
        except UnicodeError:
128
128
            raise TestSkipped("filesystem cannot create unicode files")
129
129
 
144
144
            finally:
145
145
                f.close()
146
146
            self.assertEqual(shouldbe, actual, 
147
 
                             'contents of %s is incorrect: %r != %r'
 
147
                             'contents of %r is incorrect: %r != %r'
148
148
                             % (path, shouldbe, actual))
149
149
 
150
150
    def test_access_non_normalized(self):