dev-python/whisper: Workaround the test failure

Turns out that the test failure is caused by non-UTC timezone.  It's
a bug in the test, so just force UTC to work around it.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2022-05-23 14:11:55 +02:00
parent 59abeeeb01
commit 91050352f0

View File

@@ -28,8 +28,7 @@ RDEPEND="
distutils_enable_tests pytest
EPYTEST_DESELECT=(
# not a regression (fails the same with the previous version)
# https://github.com/graphite-project/whisper/issues/321
test_whisper.py::TestWhisper::test_resize_with_aggregate
)
python_test() {
local -x TZ=UTC
epytest
}