summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_replwrap.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/test_replwrap.py b/tests/test_replwrap.py
index 8db2c39..a6ea956 100644
--- a/tests/test_replwrap.py
+++ b/tests/test_replwrap.py
@@ -12,7 +12,7 @@ class REPLWrapTestCase(unittest.TestCase):
super(REPLWrapTestCase, self).setUp()
self.save_ps1 = os.getenv('PS1', r'\$')
self.save_ps2 = os.getenv('PS2', '>')
- os.putenv('PS1', 'r\$')
+ os.putenv('PS1', r'\$')
os.putenv('PS2', '>')
def tearDown(self):
@@ -21,8 +21,6 @@ class REPLWrapTestCase(unittest.TestCase):
os.putenv('PS2', self.save_ps2)
def test_bash(self):
- os.putenv('PS1', r'\$')
- os.putenv('PS2', r'>')
bash = replwrap.bash()
res = bash.run_command("time")
assert 'real' in res, res