Skip to content

Commit 0c4f35f

Browse files
fail instead of exit
1 parent 3b74f2a commit 0c4f35f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tests/test/test_centrality.py

-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ def check_result(
4949
b["score"]
5050
):
5151
q_type = "Template Query" if template_flag else "Generic Query"
52-
pytest.exit(f'{q_type}: {r["score"]} != {b["score"]}')
5352
pytest.fail(f'{q_type}: {r["score"]} != {b["score"]}')
5453

5554
@pytest.mark.parametrize("test_name", undirected_graphs)

0 commit comments

Comments
 (0)