commit:     3411d69f228708905709f0fdbad528c9dcfbd9c2
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 24 14:34:18 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Jul 24 14:34:18 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3411d69f

dev-python/selenium: Disable plugin autoloading

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

 dev-python/selenium/selenium-4.23.1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-python/selenium/selenium-4.23.1.ebuild 
b/dev-python/selenium/selenium-4.23.1.ebuild
index 93d3dc2bc18b..ee892f3209ac 100644
--- a/dev-python/selenium/selenium-4.23.1.ebuild
+++ b/dev-python/selenium/selenium-4.23.1.ebuild
@@ -78,5 +78,6 @@ python_test() {
        rm -rf selenium || die
        # 
https://github.com/SeleniumHQ/selenium/blob/selenium-4.8.2-python/py/test/runner/run_pytest.py#L20-L24
        # seriously?
-       epytest -o "python_files=*_tests.py test_*.py"
+       local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+       epytest -o "python_files=*_tests.py test_*.py" -p pytest_mock
 }

Reply via email to