diff --git a/www-servers/nginx-unit/nginx-unit-1.35.0-r1.ebuild b/www-servers/nginx-unit/nginx-unit-1.35.0-r1.ebuild index 365ad1eabedfc..e958e31655267 100644 --- a/www-servers/nginx-unit/nginx-unit-1.35.0-r1.ebuild +++ b/www-servers/nginx-unit/nginx-unit-1.35.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -89,7 +89,7 @@ src_configure() { } src_test() { - epytest '-opython_files=test_python*.py' + use python && epytest '-opython_files=test_python*.py' } src_install() {