]> khamidou — GitHub mirrors - vcrpy.git/commitdiff
Skip requests test instead of failing for python >= 3.6
authorLuiz Menezes <luiz.menezesf@gmail.com>
Wed, 16 May 2018 15:39:44 +0000 (12:39 -0300)
committerLuiz Menezes <luiz.menezesf@gmail.com>
Wed, 16 May 2018 15:39:44 +0000 (12:39 -0300)
tests/integration/test_requests.py

index 6e1511d8a53785e080c5659171b0eb59d741c54f..f970c9526c881878eddcf0fdd8e684a32440951e 100644 (file)
@@ -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):