~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_nonascii.py

  • Committer: Alexander Belchenko
  • Date: 2006-12-22 08:52:28 UTC
  • mto: This revision was merged to the branch mainline in revision 2215.
  • Revision ID: bialix@ukr.net-20061222085228-fe80nuencvxluh6v
Don't formats unicode strings in test error messages with '%s': it's unsafe

Show diffs side-by-side

added added

removed removed

Lines of Context:
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):