diff options
Diffstat (limited to 'dev-python/flake8')
| -rw-r--r-- | dev-python/flake8/flake8-7.1.2.ebuild | 20 |
1 files changed, 11 insertions, 9 deletions
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 } |
