summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Kluyver <takowl@gmail.com>2015-10-06 11:00:40 +0100
committerThomas Kluyver <takowl@gmail.com>2015-10-06 11:00:40 +0100
commit9708d08b1b386ac78702ece6588e9403ef454e67 (patch)
tree4ea795c1ca56a1b18e29ad147cf51db885b4a39a
parent25d95f83570ba3ee47dd75c8f4d1c82d7bfd71fe (diff)
parent3ec3dc97fbc71af4e8f1906b219674a45b9b6b9d (diff)
downloadpexpect-git-9708d08b1b386ac78702ece6588e9403ef454e67.tar.gz
Merge pull request #273 from ignatenkobrain/patch-1
test_unicode: don't need to format variable
-rw-r--r--tests/test_unicode.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test_unicode.py b/tests/test_unicode.py
index 55632c3..1d2f933 100644
--- a/tests/test_unicode.py
+++ b/tests/test_unicode.py
@@ -175,8 +175,7 @@ class UnicodeTests(PexpectTestCase.PexpectTestCase):
def test_unicode_argv(self):
""" Ensure a program can be executed with unicode arguments. """
- p = pexpect.spawn(u'echo ǝpoɔıun'.format(self=self),
- timeout=5, encoding='utf8')
+ p = pexpect.spawn(u'echo ǝpoɔıun', timeout=5, encoding='utf8')
p.expect(u'ǝpoɔıun')
p.expect(pexpect.EOF)
assert not p.isalive()