Skip to content

Commit 5871e12

Browse files
committed
Skip integration on win instead of xmark
1 parent c2893da commit 5871e12

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/integration/test_integration.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def proxy_py_subprocess(request: Any) -> Generator[int, None, None]:
5151
yield int(port_file.read_text())
5252
finally:
5353
proxy_proc.terminate()
54-
proxy_proc.wait(timeout=10)
54+
proxy_proc.wait()
5555

5656

5757
# FIXME: Ignore is necessary for as long as pytest hasn't figured out
@@ -69,10 +69,9 @@ def proxy_py_subprocess(request: Any) -> Generator[int, None, None]:
6969
),
7070
indirect=True,
7171
) # type: ignore[misc]
72-
@pytest.mark.xfail(
72+
@pytest.mark.skipif(
7373
IS_WINDOWS,
7474
reason='OSError: [WinError 193] %1 is not a valid Win32 application',
75-
raises=OSError,
7675
) # type: ignore[misc]
7776
def test_integration(proxy_py_subprocess: int) -> None:
7877
"""An acceptance test using ``curl`` through proxy.py."""

0 commit comments

Comments
 (0)