From e371ede09005437f40242d1f66fecbcc12594f08 Mon Sep 17 00:00:00 2001 From: Thomas Grainger Date: Fri, 25 Feb 2022 18:53:00 +0000 Subject: [PATCH] avoid warnings from pytest-httpbin --- requirements.txt | 3 ++- setup.cfg | 3 --- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/requirements.txt b/requirements.txt index edba63f4d..abc70cc7c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -23,6 +23,7 @@ flake8==4.0.1 isort==5.10.1 mypy==0.931 pytest==6.2.5 -pytest-httpbin==1.0.1 +pytest-httpbin @ https://github.com/kevin1024/pytest-httpbin/archive/9d538e945be19d09f1f1efe95db80c86256ffceb.tar.gz; python_version >= '3.7' +pytest-httpbin==1.0.2; python_version < '3.7' pytest-trio==0.7.0 pytest-asyncio==0.16.0 diff --git a/setup.cfg b/setup.cfg index dd1dc3aeb..3dd47ee5a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -24,9 +24,6 @@ markers = copied_from(source, changes=None): mark test as copied from somewhere else, along with a description of changes made to accodomate e.g. our test setup filterwarnings = error - ignore:unclosed <(socket\.socket|ssl\.SSLSocket) .*:ResourceWarning - ignore:ssl\.wrap_socket\(\) is deprecated, use SSLContext\.wrap_socket\(\):DeprecationWarning - ignore:ssl\.PROTOCOL_TLS is deprecated:DeprecationWarning [coverage:run] omit = venv/*, httpcore/_sync/*, httpcore/_compat.py