Skip to content

Commit 6e1527b

Browse files
committed
Fix unit test when other warnings are present
1 parent c25fe60 commit 6e1527b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unit_test/options_test.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -491,4 +491,4 @@ def test_deprecated_image(image: str, deprecated: bool, capsys: pytest.CaptureFi
491491
assert f"Deprecated image {image!r}" in captured.err
492492
assert f"{resolved_image!r}" in captured.err
493493
else:
494-
assert captured.err == ""
494+
assert "Deprecated image" not in captured.err

0 commit comments

Comments
 (0)