summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Kluyver <takowl@gmail.com>2015-10-04 09:46:53 +0100
committerThomas Kluyver <takowl@gmail.com>2015-10-04 09:46:53 +0100
commit16ab7bcb5722c6b31dd852224c7e0d3c8a69c53b (patch)
treef41439ce60d018a4c17fd366651752d8f0730361
parentd71e4835f421ba61b147d1f7b0d7de3d81c46b5a (diff)
downloadpexpect-git-16ab7bcb5722c6b31dd852224c7e0d3c8a69c53b.tar.gz
Use u-prefix strings in tests too
-rw-r--r--tests/test_replwrap.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_replwrap.py b/tests/test_replwrap.py
index 6e56af0..314786b 100644
--- a/tests/test_replwrap.py
+++ b/tests/test_replwrap.py
@@ -88,8 +88,8 @@ class REPLWrapTestCase(unittest.TestCase):
child = pexpect.spawnu('python', echo=False, timeout=5)
# prompt_change=None should mean no prompt change
- py = replwrap.REPLWrapper(child, replwrap.u(">>> "), prompt_change=None,
- continuation_prompt=replwrap.u("... "))
+ py = replwrap.REPLWrapper(child, u">>> ", prompt_change=None,
+ continuation_prompt=u"... ")
assert py.prompt == ">>> "
res = py.run_command("for a in range(3): print(a)\n")