From da455f72ea2399dd5bebea2c3f3faec0173a0ff4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Wed, 16 Jun 2021 19:45:30 +0200 Subject: [PATCH] dev-python/uvicorn: Skip tests requiring python-dotenv in 0.14.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/uvicorn/uvicorn-0.14.0.ebuild | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/dev-python/uvicorn/uvicorn-0.14.0.ebuild b/dev-python/uvicorn/uvicorn-0.14.0.ebuild index f6347568597ce..3b12bff47fdf8 100644 --- a/dev-python/uvicorn/uvicorn-0.14.0.ebuild +++ b/dev-python/uvicorn/uvicorn-0.14.0.ebuild @@ -42,3 +42,12 @@ python_prepare_all() { -i tests/supervisors/test_reload.py distutils-r1_python_prepare_all } + +python_test() { + local deselect=( + # requires python-dotenv that's not keyworded everywhere yet + # see 0.14.0-r1 + tests/test_config.py::test_env_file + ) + epytest ${deselect[@]/#/--deselect } +}