commit:     279f2f65d39ec8e378c3165a955244b4b7922b44
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 26 18:29:24 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Oct 26 19:06:17 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=279f2f65

dev-python/black: Disable pytest plugins

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

 dev-python/black/black-24.10.0.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/dev-python/black/black-24.10.0.ebuild 
b/dev-python/black/black-24.10.0.ebuild
index a4198b338da9..7972d233773c 100644
--- a/dev-python/black/black-24.10.0.ebuild
+++ b/dev-python/black/black-24.10.0.ebuild
@@ -43,6 +43,11 @@ BDEPEND="
 
 distutils_enable_tests pytest
 
+python_test() {
+       local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+       epytest
+}
+
 pkg_postinst() {
        optfeature "blackd - HTTP API for black" \
                "dev-python/aiohttp dev-python/aiohttp-cors"

Reply via email to