summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2025-08-13 16:23:00 +0200
committerMichał Górny <mgorny@gentoo.org>2025-08-13 16:23:00 +0200
commit1b46b0144b64f0874367ca86482a234cfec30173 (patch)
treea4d802aa2cde52c6cdf8efa797889dde27e85056 /dev-python
parent4ba37368cfe3a7826d66adbd8d0806e0bae3b0a7 (diff)
downloadgentoo-1b46b0144b64f0874367ca86482a234cfec30173.tar.gz
gentoo-1b46b0144b64f0874367ca86482a234cfec30173.tar.bz2
gentoo-1b46b0144b64f0874367ca86482a234cfec30173.zip
dev-python/pysnmp: Use EPYTEST_PLUGINS
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/pysnmp/pysnmp-7.1.21.ebuild9
1 files changed, 2 insertions, 7 deletions
diff --git a/dev-python/pysnmp/pysnmp-7.1.21.ebuild b/dev-python/pysnmp/pysnmp-7.1.21.ebuild
index 123c764e99cf..6d669a5afa68 100644
--- a/dev-python/pysnmp/pysnmp-7.1.21.ebuild
+++ b/dev-python/pysnmp/pysnmp-7.1.21.ebuild
@@ -29,12 +29,8 @@ RDEPEND="
>=dev-python/pyasn1-0.4.8[${PYTHON_USEDEP}]
>=dev-python/pysmi-1.5.7[${PYTHON_USEDEP}]
"
-BDEPEND="
- test? (
- dev-python/pytest-asyncio[${PYTHON_USEDEP}]
- )
-"
+EPYTEST_PLUGINS=( pytest-asyncio )
distutils_enable_tests pytest
# TODO
# distutils_enable_sphinx docs/source dev-python/furo dev-python/sphinx-copybutton dev-python/sphinx-sitemap
@@ -45,10 +41,9 @@ python_test() {
tests/smi/manager/test_mib-tree-inspection.py::test_getNodeName_by_symbol_description_with_module_name_2
)
- local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
mibdump CISCO-ENHANCED-IPSEC-FLOW-MIB.py || die
mibdump LEXTUDIO-TEST-MIB || die
mibdump NET-SNMP-EXAMPLES-MIB || die
mibdump IF-MIB || die
- epytest -p asyncio
+ epytest
}