diff options
author | Igor Gnatenko <i.gnatenko.brain@gmail.com> | 2015-10-06 11:00:20 +0200 |
---|---|---|
committer | Igor Gnatenko <i.gnatenko.brain@gmail.com> | 2015-10-06 11:00:20 +0200 |
commit | 3ec3dc97fbc71af4e8f1906b219674a45b9b6b9d (patch) | |
tree | 4ea795c1ca56a1b18e29ad147cf51db885b4a39a /tests | |
parent | 25d95f83570ba3ee47dd75c8f4d1c82d7bfd71fe (diff) | |
download | pexpect-git-3ec3dc97fbc71af4e8f1906b219674a45b9b6b9d.tar.gz |
test_unicode: don't need to format variable
Diffstat (limited to 'tests')
-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() |