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 }