We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e0c89e2 + d5d69e2 commit c9fd996Copy full SHA for c9fd996
1 file changed
tests/mock_vws/test_docker.py
@@ -121,9 +121,16 @@ def test_build_and_run(
121
full_log = "\n".join(
122
[item["stream"] for item in exc.build_log if "stream" in item],
123
)
124
+ windows_message_substrings = (
125
+ "no matching manifest for windows/amd64",
126
+ "no matching manifest for windows(10.0.26100)/amd64",
127
+ )
128
# If this assertion fails, it may be useful to look at the other
129
# properties of ``exc``.
- if "no matching manifest for windows/amd64" not in exc.msg:
130
+ if not any(
131
+ windows_message_substring in exc.msg
132
+ for windows_message_substring in windows_message_substrings
133
+ ):
134
raise AssertionError(full_log) from exc
135
pytest.skip(
136
reason="We do not currently support using Windows containers."
0 commit comments