Change xpass to xfail for codecov

This commit is contained in:
Boger 2020-03-13 13:05:08 +03:00
parent 25e9d676a9
commit 424f2fe4fe

View file

@ -112,9 +112,10 @@ class TestHttpxSession:
# Update right Version if httpx still didn't implement it
# https://github.com/encode/httpx/issues/394
@pytest.mark.skipif(
Version(httpx.__version__) <= Version("0.12"),
@pytest.mark.xfail(
condition=Version(httpx.__version__) <= Version("0.12"),
reason="old httpx doesn't support chunk_size",
strict=True,
)
@pytest.mark.asyncio
async def test_stream_content(self, httpx_mock: HTTPXMock):