commit:     91050352f0e47f367673313f112ffcaa34caae84
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon May 23 12:11:55 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon May 23 12:12:07 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91050352

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 <AT> gentoo.org>

 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 d587c6d47c45..7c5e02c4610f 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
+}

Reply via email to