summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2026-02-17 09:31:07 +0100
committerMichał Górny <mgorny@gentoo.org>2026-02-17 09:39:30 +0100
commit6aa8823e24a6fe9e2d1c8bae7b306ed2ebbeeff6 (patch)
treeee4556d140c64864fac190c134decb26946192ae /dev-python
parent0d35294f6d2f2e2abaad935300e1caeee5476197 (diff)
downloadgentoo-6aa8823e24a6fe9e2d1c8bae7b306ed2ebbeeff6.tar.gz
gentoo-6aa8823e24a6fe9e2d1c8bae7b306ed2ebbeeff6.tar.bz2
gentoo-6aa8823e24a6fe9e2d1c8bae7b306ed2ebbeeff6.zip
dev-python/aiosmtpd: Use EPYTEST_PLUGINS
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/aiosmtpd/aiosmtpd-1.4.6.ebuild7
1 files changed, 2 insertions, 5 deletions
diff --git a/dev-python/aiosmtpd/aiosmtpd-1.4.6.ebuild b/dev-python/aiosmtpd/aiosmtpd-1.4.6.ebuild
index 162fe113932d..dcdb8098caeb 100644
--- a/dev-python/aiosmtpd/aiosmtpd-1.4.6.ebuild
+++ b/dev-python/aiosmtpd/aiosmtpd-1.4.6.ebuild
@@ -23,15 +23,13 @@ RDEPEND="
>=dev-python/atpublic-4.0[${PYTHON_USEDEP}]
>=dev-python/attrs-23.2.0[${PYTHON_USEDEP}]
"
-BDEPEND="
- test? ( >=dev-python/pytest-mock-3.12.0[${PYTHON_USEDEP}] )
-"
EPYTEST_DESELECT=(
# Needs dev-vcs/git
aiosmtpd/qa/test_0packaging.py::TestVersion
)
+EPYTEST_PLUGINS=( pytest-mock )
distutils_enable_tests pytest
python_prepare_all() {
@@ -51,6 +49,5 @@ python_test() {
;;
esac
- local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
- epytest -p pytest_mock
+ epytest
}