diff options
| author | Jeff Quast <contact@jeffquast.com> | 2014-11-22 00:31:49 -0800 |
|---|---|---|
| committer | Jeff Quast <contact@jeffquast.com> | 2014-11-22 00:31:49 -0800 |
| commit | 35f8153881decabcb8d1729d07be27e19f397649 (patch) | |
| tree | 8db807e5a0d4f9db217c07ba257af6e5158900e2 /tests/test_run.py | |
| parent | 93d93a651a38403f9ff1656b9958b8ece120d32f (diff) | |
| download | pexpect-35f8153881decabcb8d1729d07be27e19f397649.tar.gz | |
write b'bytes' to rcfile, not 'str/unicode'
Diffstat (limited to 'tests/test_run.py')
| -rwxr-xr-x | tests/test_run.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_run.py b/tests/test_run.py index 8b12f4a..cd09e3b 100755 --- a/tests/test_run.py +++ b/tests/test_run.py @@ -48,7 +48,7 @@ class RunFuncTestCase(PexpectTestCase.PexpectTestCase): def setUp(self): fd, self.rcfile = tempfile.mkstemp() - os.write(fd, 'PS1=GO: \n') + os.write(fd, b'PS1=GO: \n') os.close(fd) def tearDown(self): |
