~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Jelmer Vernooij
  • Date: 2011-05-04 22:23:20 UTC
  • mfrom: (5825 +trunk)
  • mto: This revision was merged to the branch mainline in revision 5830.
  • Revision ID: jelmer@samba.org-20110504222320-bczsppms2wadcrb4
Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
        if os.name != "posix":
56
56
            raise tests.TestNotApplicable("Needs system beholden to C locales")
57
57
        out, err = self.run_bzr_subprocess(["\xa0"],
58
 
            env_changes={"LANG": "C"},
 
58
            env_changes={"LANG": "C", "LC_ALL": "C"},
59
59
            universal_newlines=True,
60
60
            retcode=errors.EXIT_ERROR)
61
61
        self.assertContainsRe(err, r"^bzr: ERROR: .*'\\xa0'.* unsupported")