eclass/python-utils-r1: Sync with Gentoo

It's from Gentoo commit 1f35acddca01e91d4477f3d0340c47329517f474.
This commit is contained in:
Flatcar Buildbot 2024-04-08 07:15:15 +00:00 committed by Krzesimir Nowak
parent e8583e4a2d
commit 09ac914827

View File

@ -1349,6 +1349,9 @@ epytest() {
# override filterwarnings=error, we do not really want -Werror
# for end users, as it tends to fail on new warnings from deps
-Wdefault
# however, do error out if the package failed to load
# an appropriate async plugin
-Werror::pytest.PytestUnhandledCoroutineWarning
# override color output
"--color=${color}"
# count is more precise when we're dealing with a large number