eclass/python-utils-r1: Sync with Gentoo

It's from Gentoo commit be9e5a134fc0aba4f561723769a75807756a177a.

Signed-off-by: Flatcar Buildbot <buildbot@flatcar-linux.org>
This commit is contained in:
Flatcar Buildbot 2025-10-13 07:10:05 +00:00 committed by Krzesimir Nowak
parent ee74fe185a
commit f902a0ae82

View File

@ -1420,7 +1420,7 @@ epytest() {
[[ ${NO_COLOR} ]] && color=no [[ ${NO_COLOR} ]] && color=no
mkdir -p "${T}/pytest-xml" || die mkdir -p "${T}/pytest-xml" || die
local junit_xml=$(mktemp "${T}/pytest-xml/${EPYTHON}-XXX.xml" || die) local junit_xml=$(mktemp "${T}/pytest-xml/${EPYTHON}-XXXXXX.xml" || die)
local args=( local args=(
# verbose progress reporting and tracebacks # verbose progress reporting and tracebacks