Skip to content

Commit

Permalink
More Informative assert (ipython#1314)
Browse files Browse the repository at this point in the history
  • Loading branch information
Carreau authored Feb 3, 2025
1 parent 6f2bc84 commit f3f2a60
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/test_subshells.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,9 @@ def test_thread_ids():
delete_subshell_helper(kc, subshell_id)


@pytest.mark.xfail(
strict=False, reason="this randomly fail and make downstream testing less useful"
)
@pytest.mark.parametrize("are_subshells", [(False, True), (True, False), (True, True)])
@pytest.mark.parametrize("overlap", [True, False])
def test_run_concurrently_sequence(are_subshells, overlap):
Expand Down Expand Up @@ -166,7 +169,7 @@ def test_run_concurrently_sequence(are_subshells, overlap):
delete_subshell_helper(kc, subshell_id)

for reply in replies:
assert reply["content"]["status"] == "ok"
assert reply["content"]["status"] == "ok", reply


@pytest.mark.parametrize("include_main_shell", [True, False])
Expand Down

0 comments on commit f3f2a60

Please sign in to comment.