summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-05-23 14:11:55 +0200
committerMichał Górny <mgorny@gentoo.org>2022-05-23 14:12:07 +0200
commit91050352f0e47f367673313f112ffcaa34caae84 (patch)
treeed26464b7a43694d654cf3a2178c1e682653eb78 /dev-python/whisper
parentsys-apps/bleachbit: Stabilize 4.4.2 amd64, #847073 (diff)
downloadgentoo-91050352f0e47f367673313f112ffcaa34caae84.tar.gz
gentoo-91050352f0e47f367673313f112ffcaa34caae84.tar.bz2
gentoo-91050352f0e47f367673313f112ffcaa34caae84.zip
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>
Diffstat (limited to 'dev-python/whisper')
-rw-r--r--dev-python/whisper/whisper-1.1.10.ebuild9
1 files 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
+}