Skip to content

Commit

Permalink
fix code reach
Browse files Browse the repository at this point in the history
  • Loading branch information
kratsg committed Sep 3, 2022
1 parent 91e7e25 commit f67179f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_workspace.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def test_get_workspace_data_bad_model(workspace_factory, caplog, mocker):
with caplog.at_level(logging.INFO, 'pyhf.pdf'):
with pytest.raises(KeyError):
assert w.data(m)
assert 'Invalid channel' in caplog.text
assert 'Invalid channel' in caplog.text


def test_json_serializable(workspace_factory):
Expand Down

0 comments on commit f67179f

Please sign in to comment.