diff options
author | jquast <contact@jeffquast.com> | 2013-09-22 22:09:50 -0700 |
---|---|---|
committer | jquast <contact@jeffquast.com> | 2013-09-22 22:09:50 -0700 |
commit | 4dc72b747b243f61386180d0f505453f195ea169 (patch) | |
tree | ff6e2b9b03373d92459ed486b0f394caff5a10f4 /tests/test_interact.py | |
parent | 5e16434c48218035684b3a15e3b8406e7fc8df7a (diff) | |
download | pexpect-git-4dc72b747b243f61386180d0f505453f195ea169.tar.gz |
hopefully fix py3 errors with correct string fmt
Diffstat (limited to 'tests/test_interact.py')
-rwxr-xr-x | tests/test_interact.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_interact.py b/tests/test_interact.py index 6754f2f..ab77228 100755 --- a/tests/test_interact.py +++ b/tests/test_interact.py @@ -38,7 +38,7 @@ class InteractTestCase (PexpectTestCase.PexpectTestCase): # Note that I had to add a delay in the swapcase_echo.py script. # I'm not sure why this helped. - p = pexpect.spawn('%s swapcase_echo.py' % self.PYTHONBIN) + p = pexpect.spawn('%s swapcase_echo.py' % (self.PYTHONBIN,)) mode = tty.tcgetattr(p.STDIN_FILENO) t = threading.Thread (target=start_interact, args=(p,)) t.start() @@ -67,7 +67,7 @@ class InteractTestCase (PexpectTestCase.PexpectTestCase): # tty.tcsetattr(p.STDIN_FILENO, tty.TCSAFLUSH, mode) def test_interact (self): - p = pexpect.spawn('%s interact.py' % self.PYTHONBIN) + p = pexpect.spawn('%s interact.py' % (self.PYTHONBIN,)) p.sendline (six.b('Hello')) p.sendline (six.b('there')) p.sendline (six.b('Mr. Python')) |