diff options
-rw-r--r-- | tests/test_unicode.py | 3 |
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() |