diff options
Diffstat (limited to 'dev-python/pexpect')
| -rw-r--r-- | dev-python/pexpect/pexpect-4.9.0.ebuild | 30 |
1 files changed, 13 insertions, 17 deletions
diff --git a/dev-python/pexpect/pexpect-4.9.0.ebuild b/dev-python/pexpect/pexpect-4.9.0.ebuild index dbf660f4efdc..56b92b054a88 100644 --- a/dev-python/pexpect/pexpect-4.9.0.ebuild +++ b/dev-python/pexpect/pexpect-4.9.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -25,10 +25,22 @@ RDEPEND=" >=dev-python/ptyprocess-0.5[${PYTHON_USEDEP}] " +EPYTEST_PLUGINS=() distutils_enable_tests pytest distutils_enable_sphinx doc \ dev-python/sphinxcontrib-github-alt +EPYTEST_DESELECT=( + # flaky test on weaker arches + tests/test_performance.py + # requires zsh installed, not worth it + tests/test_replwrap.py::REPLWrapTestCase::test_zsh + # flaky + tests/test_env.py::TestCaseEnv::test_spawn_uses_env + # flaky & hangy + tests/test_socket.py::ExpectTestCase::test_interrupt +) + PATCHES=( # https://github.com/pexpect/pexpect/pull/794 "${FILESDIR}/${P}-py313.patch" @@ -44,22 +56,6 @@ src_test() { distutils-r1_src_test } -python_test() { - local EPYTEST_DESELECT=( - # flaky test on weaker arches - tests/test_performance.py - # requires zsh installed, not worth it - tests/test_replwrap.py::REPLWrapTestCase::test_zsh - # flaky - tests/test_env.py::TestCaseEnv::test_spawn_uses_env - # flaky & hangy - tests/test_socket.py::ExpectTestCase::test_interrupt - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} - python_install_all() { if use examples; then dodoc -r examples |
