diff options
| author | Thomas Kluyver <takowl@gmail.com> | 2014-05-31 17:21:30 -0700 |
|---|---|---|
| committer | Thomas Kluyver <takowl@gmail.com> | 2014-05-31 17:21:30 -0700 |
| commit | 9c97dca35965751812b992dda2eb1433d4206c68 (patch) | |
| tree | 69ff51fc66ff3620318fccc96422d94b2586942c /pexpect/replwrap.py | |
| parent | 01f85224232f416890576348cfc6ba31f8a7e22e (diff) | |
| download | pexpect-9c97dca35965751812b992dda2eb1433d4206c68.tar.gz | |
Use bash for testing replwrap, avoiding PyPy's different REPL
Diffstat (limited to 'pexpect/replwrap.py')
| -rw-r--r-- | pexpect/replwrap.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pexpect/replwrap.py b/pexpect/replwrap.py index 5d74a77..965c790 100644 --- a/pexpect/replwrap.py +++ b/pexpect/replwrap.py @@ -95,4 +95,4 @@ def python(command="python"): def bash(command="bash", orig_prompt=u("$")): """Start a bash shell and return a :class:`REPLWrapper` object.""" - return REPLWrapper(command, orig_prompt, u("PS1={0!r}; PS2={1!r}")) + return REPLWrapper(command, orig_prompt, u("PS1='{0}'; PS2='{1}'")) |
