From 16ab7bcb5722c6b31dd852224c7e0d3c8a69c53b Mon Sep 17 00:00:00 2001 From: Thomas Kluyver Date: Sun, 4 Oct 2015 09:46:53 +0100 Subject: Use u-prefix strings in tests too --- tests/test_replwrap.py | 4 ++-- 1 file 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") -- cgit v1.2.1