From 3411d69f228708905709f0fdbad528c9dcfbd9c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Wed, 24 Jul 2024 16:34:18 +0200 Subject: [PATCH] dev-python/selenium: Disable plugin autoloading MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- 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 93d3dc2bc18b1..ee892f3209ace 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 }