summaryrefslogtreecommitdiff
path: root/tests/test_interact.py
diff options
context:
space:
mode:
authorjquast <contact@jeffquast.com>2013-09-22 16:25:41 -0700
committerjquast <contact@jeffquast.com>2013-09-22 16:25:41 -0700
commit4decac0a645f55160d3faeac83d480c405eda67c (patch)
tree884976f0d371be52bb0112ec9978709f228e45a7 /tests/test_interact.py
parentb450712f0bbe661edbd4cc49afef4728bc6dcea7 (diff)
downloadpexpect-git-4decac0a645f55160d3faeac83d480c405eda67c.tar.gz
use proper %s (arg,) formatting,
hopefully, fixing older python error
Diffstat (limited to 'tests/test_interact.py')
-rwxr-xr-xtests/test_interact.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_interact.py b/tests/test_interact.py
index 9882a2d..891265f 100755
--- a/tests/test_interact.py
+++ b/tests/test_interact.py
@@ -80,7 +80,7 @@ class InteractTestCase (PexpectTestCase.PexpectTestCase):
assert p.exitstatus == 0, (p.exitstatus, p.before)
def test_interact_unicode (self):
- p = pexpect.spawnu('%s interact.py' % self.PYTHONBIN)
+ p = pexpect.spawnu('%s interact.py' % (self.PYTHONBIN,))
p.sendline (u'Hello')
p.sendline (u'theré')
p.sendline (u'Mr. Python🐹')