From 3009cbbbe902f781134295cae5f9b1e47dc0f64e Mon Sep 17 00:00:00 2001 From: Luiz Menezes Date: Wed, 16 May 2018 12:39:44 -0300 Subject: [PATCH] Skip requests test instead of failing for python >= 3.6 --- tests/integration/test_requests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/test_requests.py b/tests/integration/test_requests.py index 6e1511d..f970c95 100644 --- a/tests/integration/test_requests.py +++ b/tests/integration/test_requests.py @@ -116,8 +116,8 @@ def test_post_chunked_binary(tmpdir, httpbin): assert req1 == req2 -@pytest.mark.xfail('sys.version_info >= (3, 6)', strict=True, raises=ConnectionError) -@pytest.mark.xfail((3, 5) < sys.version_info < (3, 6) and +@pytest.mark.xskip('sys.version_info >= (3, 6)', strict=True, raises=ConnectionError) +@pytest.mark.xskip((3, 5) < sys.version_info < (3, 6) and platform.python_implementation() == 'CPython', reason='Fails on CPython 3.5') def test_post_chunked_binary_secure(tmpdir, httpbin_secure): -- 2.43.0