~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Samuel Bronson
  • Date: 2012-08-30 20:36:18 UTC
  • mto: (6015.57.3 2.4)
  • mto: This revision was merged to the branch mainline in revision 6558.
  • Revision ID: naesten@gmail.com-20120830203618-y2dzw91nqpvpgxvx
Update INSTALL for switch to Python 2.6 and up.

Show diffs side-by-side

added added

removed removed

Lines of Context:
60
60
            flags=re.MULTILINE)
61
61
        self.assertEquals(out, "")
62
62
 
63
 
    def test_utf8_default_fs_enc(self):
64
 
        """In the C locale bzr treats a posix filesystem as UTF-8 encoded"""
65
 
        if os.name != "posix":
66
 
            raise tests.TestNotApplicable("Needs system beholden to C locales")
67
 
        out, err = self.run_bzr_subprocess(["init", "file:%C2%A7"],
68
 
            env_changes={"LANG": "C", "LC_ALL": "C"})
69
 
        self.assertContainsRe(out, "^Created a standalone tree .*$")
70
 
 
71
63
 
72
64
class TestOptParseBugHandling(tests.TestCase):
73
65
    "Test that we handle http://bugs.python.org/issue2931"