diff options
author | jquast <contact@jeffquast.com> | 2014-06-08 02:09:48 -0700 |
---|---|---|
committer | jquast <contact@jeffquast.com> | 2014-06-08 02:09:48 -0700 |
commit | ce6e5f4f226a311d4c6b47ec359883359636a70c (patch) | |
tree | 3d3c3c12ec9bfb768388d82aad9105751942b294 | |
parent | 6a144134788a0c6601262ec008b83e4288bbb096 (diff) | |
download | pexpect-ce6e5f4f226a311d4c6b47ec359883359636a70c.tar.gz |
syntaxerr: missing r'literal' for unset PS1
-rw-r--r-- | tests/test_replwrap.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_replwrap.py b/tests/test_replwrap.py index 3ee9f0c..8db2c39 100644 --- a/tests/test_replwrap.py +++ b/tests/test_replwrap.py @@ -10,7 +10,7 @@ from pexpect import replwrap class REPLWrapTestCase(unittest.TestCase): def setUp(self): super(REPLWrapTestCase, self).setUp() - self.save_ps1 = os.getenv('PS1', '\$') + self.save_ps1 = os.getenv('PS1', r'\$') self.save_ps2 = os.getenv('PS2', '>') os.putenv('PS1', 'r\$') os.putenv('PS2', '>') |