commit:     782a9eb346dc594a4e85da3b1e5f6e64caaad445
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 13 08:14:03 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jul 13 08:22:51 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=782a9eb3

dev-python/Babel: Force known-working timezone for tests

Closes: https://bugs.gentoo.org/614070

 dev-python/Babel/Babel-2.5.3-r1.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dev-python/Babel/Babel-2.5.3-r1.ebuild 
b/dev-python/Babel/Babel-2.5.3-r1.ebuild
index 00bcf909a63..eda854a842a 100644
--- a/dev-python/Babel/Babel-2.5.3-r1.ebuild
+++ b/dev-python/Babel/Babel-2.5.3-r1.ebuild
@@ -34,6 +34,8 @@ python_prepare_all() {
 }
 
 python_test() {
+       local -x TZ=UTC
+
        # Create implementation-specific datadir for tests.
        cp -R -l tests/messages/data "${BUILD_DIR}"/ || die
        py.test -vv || die

Reply via email to