From ec3ee03dc8446daeb462e0d1194a605d604eb7db Mon Sep 17 00:00:00 2001 From: Erik Sundell Date: Fri, 9 Jun 2023 00:42:07 +0200 Subject: [PATCH] test refactor: ignore code coverage warning --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index d0e97f8..d256f58 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -41,6 +41,9 @@ target_version = [ [tool.pytest.ini_options] addopts = "--verbose --color=yes --durations=10 --maxfail=1 --cov=tljh" asyncio_mode = "auto" +filterwarnings = [ + 'ignore:.*Module bootstrap was never imported.*:coverage.exceptions.CoverageWarning', +] # pytest-cov / coverage is used to measure code coverage of tests