summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/test_history.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_history.py b/tests/test_history.py
index 058386a3..36794d0c 100644
--- a/tests/test_history.py
+++ b/tests/test_history.py
@@ -237,9 +237,9 @@ def test_history_with_span_index_error(base_app):
run_cmd(base_app, 'help')
run_cmd(base_app, 'help history')
run_cmd(base_app, '!ls -hal :')
- with pytest.raises(ValueError):
- out, err = run_cmd(base_app, 'history "hal :"')
- assert "ValueError" in err[0]
+
+ out, err = run_cmd(base_app, 'history "hal :"')
+ assert "ValueError" in err[0]
def test_history_output_file(base_app):
run_cmd(base_app, 'help')