From de1defdb33a0dc088576c475c0bcf40543418d36 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Mon, 3 Mar 2025 06:51:07 +0000 Subject: Adding metadata --- dev-python/flake8/flake8-7.1.2.ebuild | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) (limited to 'dev-python/flake8') diff --git a/dev-python/flake8/flake8-7.1.2.ebuild b/dev-python/flake8/flake8-7.1.2.ebuild index 2c1ead439fc6..128aa612dee9 100644 --- a/dev-python/flake8/flake8-7.1.2.ebuild +++ b/dev-python/flake8/flake8-7.1.2.ebuild @@ -46,15 +46,17 @@ python_test() { # fails if additional flake8 plugins are installed tests/integration/test_plugins.py::test_local_plugin_can_add_option ) - if [[ ${EPYTHON} == pypy3 ]]; then - EPYTEST_DESELECT+=( - # problem with pypy3.10 in dev-python/pyflakes - # https://github.com/PyCQA/pyflakes/issues/779 - tests/integration/test_main.py::test_malformed_per_file_ignores_error - tests/integration/test_main.py::test_tokenization_error_but_not_syntax_error - tests/integration/test_main.py::test_tokenization_error_is_a_syntax_error - ) - fi + case ${EPYTHON} in + pypy3*) + EPYTEST_DESELECT+=( + # problem with pypy3.10 in dev-python/pyflakes + # https://github.com/PyCQA/pyflakes/issues/779 + tests/integration/test_main.py::test_malformed_per_file_ignores_error + tests/integration/test_main.py::test_tokenization_error_but_not_syntax_error + tests/integration/test_main.py::test_tokenization_error_is_a_syntax_error + ) + ;; + esac epytest } -- cgit v1.3