File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -121,9 +121,16 @@ def test_build_and_run(
121121 full_log = "\n " .join (
122122 [item ["stream" ] for item in exc .build_log if "stream" in item ],
123123 )
124+ windows_message_substrings = (
125+ "no matching manifest for windows/amd64" ,
126+ "no matching manifest for windows(10.0.26100)/amd64" ,
127+ )
124128 # If this assertion fails, it may be useful to look at the other
125129 # properties of ``exc``.
126- 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+ ):
127134 raise AssertionError (full_log ) from exc
128135 pytest .skip (
129136 reason = "We do not currently support using Windows containers."
You can’t perform that action at this time.
0 commit comments