summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/aiodns/aiodns-3.5.0.ebuild9
1 files changed, 2 insertions, 7 deletions
diff --git a/dev-python/aiodns/aiodns-3.5.0.ebuild b/dev-python/aiodns/aiodns-3.5.0.ebuild
index 07508add572d..cf34eadebfc8 100644
--- a/dev-python/aiodns/aiodns-3.5.0.ebuild
+++ b/dev-python/aiodns/aiodns-3.5.0.ebuild
@@ -3,6 +3,7 @@
EAPI=8
+EPYTEST_PLUGINS=( pytest-asyncio )
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( pypy3_11 python3_{11..14} )
@@ -23,15 +24,9 @@ RESTRICT="test"
RDEPEND=">=dev-python/pycares-4.9.0[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"
-BDEPEND="
- test? (
- dev-python/pytest-asyncio[${PYTHON_USEDEP}]
- )
-"
distutils_enable_tests pytest
python_test() {
- local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
- epytest -p asyncio --asyncio-mode=auto
+ epytest --asyncio-mode=auto
}