~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: John Arbash Meinel
  • Date: 2011-05-06 15:15:44 UTC
  • mfrom: (5835 +trunk)
  • mto: This revision was merged to the branch mainline in revision 5836.
  • Revision ID: john@arbash-meinel.com-20110506151544-atzxeezfwssnlacr
Merge bzr.dev 5835 in prep for release-notes updates

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")
102
102
        bzrdir.register_metadir(controldir.format_registry, "testobsolete",
103
103
            "bzrlib.tests.blackbox.test_exceptions.TestObsoleteRepoFormat",
104
104
            branch_format='bzrlib.branch.BzrBranchFormat7',
105
 
            tree_format='bzrlib.workingtree.WorkingTreeFormat6',
 
105
            tree_format='bzrlib.workingtree_4.WorkingTreeFormat6',
106
106
            deprecated=True,
107
107
            help='Same as 2a, but with an obsolete repo format.')
108
108
        self.disable_deprecation_warning()