~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: John Arbash Meinel
  • Date: 2006-08-25 15:05:57 UTC
  • mto: This revision was merged to the branch mainline in revision 1962.
  • Revision ID: john@arbash-meinel.com-20060825150557-3b0a26c2e2e7225b
Change error message text

Show diffs side-by-side

added added

removed removed

Lines of Context:
80
80
        # XXX: This depends on the exact formatting of a locale.Error
81
81
        # as the first part of the string. It may be a little tempermental
82
82
        self.assertEqualDiff("""\
83
 
WARNING: unsupported locale setting
84
 
  Could not determine your preferred encoding.
85
 
  Usually, this is because python does not support your LANG ('BOGUS')
86
 
  Using 'ascii' encoding.
 
83
bzr: warning: unsupported locale setting
 
84
  Could not what text encoding to use.
 
85
  This error usually means your Python interpreter
 
86
  doesn't support the locale set by $LANG (BOGUS)
 
87
  Continuing with ascii encoding.
87
88
""", err)
88
89
        self.assertEqualDiff("""\
89
90
------------------------------------------------------------