From d1fb8f7437629a83c35441fb8485a03f5accc4d6 Mon Sep 17 00:00:00 2001 From: Kevin Van Brunt Date: Wed, 20 Mar 2019 20:41:41 -0400 Subject: Fixed unit test --- tests/test_history.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/test_history.py') 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') -- cgit v1.2.1