summaryrefslogtreecommitdiff
path: root/tests/test_run.py
diff options
context:
space:
mode:
authorJeff Quast <contact@jeffquast.com>2014-11-22 00:31:49 -0800
committerJeff Quast <contact@jeffquast.com>2014-11-22 00:31:49 -0800
commit35f8153881decabcb8d1729d07be27e19f397649 (patch)
tree8db807e5a0d4f9db217c07ba257af6e5158900e2 /tests/test_run.py
parent93d93a651a38403f9ff1656b9958b8ece120d32f (diff)
downloadpexpect-35f8153881decabcb8d1729d07be27e19f397649.tar.gz
write b'bytes' to rcfile, not 'str/unicode'
Diffstat (limited to 'tests/test_run.py')
-rwxr-xr-xtests/test_run.py2
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):