Skip to content

Commit

Permalink
temp: debug sporadic failures
Browse files Browse the repository at this point in the history
  • Loading branch information
radoering committed Dec 19, 2022
1 parent caf0271 commit 310e3c0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/installation/test_executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -324,8 +324,9 @@ def test_execute_prints_warning_for_yanked_package(
"(black-21.11b0-py3-none-any.whl) is yanked. Reason for being yanked: "
"Broken regex dependency. Use 21.11b1 instead."
)
out = io.fetch_output()
error = io.fetch_error()
assert return_code == 0
assert return_code == 0, f"\nout: {out}\nerror: {error}\n"
assert "pytest" not in error
if has_warning:
assert expected in error
Expand Down

0 comments on commit 310e3c0

Please sign in to comment.