diff options
| author | Thomas Kluyver <takowl@gmail.com> | 2013-10-09 12:20:39 -0700 |
|---|---|---|
| committer | Thomas Kluyver <takowl@gmail.com> | 2013-10-09 12:20:39 -0700 |
| commit | 651d5d017861a46ab505b7d34c171dff8263b728 (patch) | |
| tree | 4d0f61270e08a32ea0c56fd43c7a690c7e306d0c | |
| parent | 287789e06b6579f07aa3ecdec94934ce37ce03be (diff) | |
| download | pexpect-mac-test-readlines.tar.gz | |
Fix another possible test failuremac-test-readlines
| -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 |
