commit:     1b46b0144b64f0874367ca86482a234cfec30173
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 13 14:23:00 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Aug 13 14:23:00 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b46b014

dev-python/pysnmp: Use EPYTEST_PLUGINS

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pysnmp/pysnmp-7.1.21.ebuild | 9 ++-------
 1 file 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
 }

Reply via email to