Skip to content

Commit 59dc904

Browse files
committed
Disable modify chunk response for python < 3.10
1 parent 9453df0 commit 59dc904

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/integration/test_integration.py

+5
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
1111
Test the simplest proxy use scenario for smoke.
1212
"""
13+
import sys
1314
import time
1415
import pytest
1516
import tempfile
@@ -162,6 +163,10 @@ def test_integration_with_interception_flags(proxy_py_subprocess: int) -> None:
162163
IS_WINDOWS,
163164
reason='OSError: [WinError 193] %1 is not a valid Win32 application',
164165
) # type: ignore[misc]
166+
@pytest.mark.skipif(
167+
sys.version_info >= (3, 10),
168+
reason='For version < 3.10, GHA integration run into OSError when flushing to clients',
169+
) # type: ignore[misc]
165170
def test_modify_chunk_response_integration(proxy_py_subprocess: int) -> None:
166171
"""An acceptance test for :py:class:`~proxy.plugin.ModifyChunkResponsePlugin`
167172
interception using ``curl`` through proxy.py."""

0 commit comments

Comments
 (0)