mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/pyzmq: Use EPYTEST_PLUGINS
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user