Skip to content

Commit 3009cbb

Browse files
committed
Skip requests test instead of failing for python >= 3.6
1 parent f811b41 commit 3009cbb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/integration/test_requests.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ def test_post_chunked_binary(tmpdir, httpbin):
116116
assert req1 == req2
117117

118118

119-
@pytest.mark.xfail('sys.version_info >= (3, 6)', strict=True, raises=ConnectionError)
120-
@pytest.mark.xfail((3, 5) < sys.version_info < (3, 6) and
119+
@pytest.mark.xskip('sys.version_info >= (3, 6)', strict=True, raises=ConnectionError)
120+
@pytest.mark.xskip((3, 5) < sys.version_info < (3, 6) and
121121
platform.python_implementation() == 'CPython',
122122
reason='Fails on CPython 3.5')
123123
def test_post_chunked_binary_secure(tmpdir, httpbin_secure):

0 commit comments

Comments
 (0)