From 91050352f0e47f367673313f112ffcaa34caae84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 23 May 2022 14:11:55 +0200 Subject: [PATCH] dev-python/whisper: Workaround the test failure MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- dev-python/whisper/whisper-1.1.10.ebuild | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/dev-python/whisper/whisper-1.1.10.ebuild b/dev-python/whisper/whisper-1.1.10.ebuild index d587c6d47c458..7c5e02c4610ff 100644 --- a/dev-python/whisper/whisper-1.1.10.ebuild +++ b/dev-python/whisper/whisper-1.1.10.ebuild @@ -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 +}