56
58
env_changes={"LANG": "C", "LC_ALL": "C"},
58
60
retcode=errors.EXIT_ERROR)
61
62
self.assertEquals(out, "")
65
66
"Test that we handle http://bugs.python.org/issue2931"
67
68
def test_nonascii_optparse(self):
68
69
"""Reasonable error raised when non-ascii in option name"""
70
74
out = self.run_bzr_error([error_re], ['st',u'-\xe4'])