diff options
| -rwxr-xr-x | tests/test_run.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_run.py b/tests/test_run.py index ce470bb..6346ced 100755 --- a/tests/test_run.py +++ b/tests/test_run.py @@ -84,6 +84,7 @@ class RunUnicodeFuncTestCase(RunFuncTestCase): return True # Stop the child process output = pexpect.runu(sys.executable + ' echo_w_prompt.py', + env={'PYTHONIOENCODING':'utf-8'}, events={pattern:callback}) assert isinstance(output, unicode_type), type(output) assert '<out>'+c in output, output |
