dev-python/pyzmq: Use EPYTEST_PLUGINS

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-08-02 20:41:40 +02:00
parent fabaf18c43
commit 4dc3f4efd0

View File

@@ -40,12 +40,11 @@ BDEPEND="
>=dev-python/cython-3.0.0[${PYTHON_USEDEP}]
' 'python*')
test? (
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
dev-python/pytest-rerunfailures[${PYTHON_USEDEP}]
>=dev-python/tornado-5.0.2[${PYTHON_USEDEP}]
)
"
EPYTEST_PLUGINS=( pytest-{asyncio,rerunfailures} )
distutils_enable_tests pytest
# TODO: Package enum_tools
# distutils_enable_sphinx docs/source \
@@ -80,8 +79,7 @@ python_test() {
)
esac
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
rm -rf zmq || die
# avoid large to reduce memory consumption
epytest -p asyncio -p rerunfailures tests -m "not large"
epytest tests -m "not large"
}