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