Skip to content

Commit dcfe7e5

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

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/integration/test_integration.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@
4949
'--threadless --local-executor 0 --plugin proxy.plugin.ModifyChunkResponsePlugin ' +
5050
TLS_INTERCEPTION_FLAGS
5151
),
52-
# (
53-
# '--threaded --plugin proxy.plugin.ModifyChunkResponsePlugin ' +
54-
# TLS_INTERCEPTION_FLAGS
55-
# ),
52+
(
53+
'--threaded --plugin proxy.plugin.ModifyChunkResponsePlugin ' +
54+
TLS_INTERCEPTION_FLAGS
55+
),
5656
)
5757

5858
PROXY_PY_FLAGS_MODIFY_POST_DATA_PLUGIN = (
@@ -164,7 +164,7 @@ def test_integration_with_interception_flags(proxy_py_subprocess: int) -> None:
164164
reason='OSError: [WinError 193] %1 is not a valid Win32 application',
165165
) # type: ignore[misc]
166166
@pytest.mark.skipif(
167-
sys.version_info >= (3, 10),
167+
sys.version_info < (3, 10),
168168
reason='For version < 3.10, GHA integration run into OSError when flushing to clients',
169169
) # type: ignore[misc]
170170
def test_modify_chunk_response_integration(proxy_py_subprocess: int) -> None:

0 commit comments

Comments
 (0)