dev-python/Babel: Force known-working timezone for tests
authorMichał Górny <mgorny@gentoo.org>
Fri, 13 Jul 2018 08:14:03 +0000 (10:14 +0200)
committerMichał Górny <mgorny@gentoo.org>
Fri, 13 Jul 2018 08:22:51 +0000 (10:22 +0200)
Closes: https://bugs.gentoo.org/614070

dev-python/Babel/Babel-2.5.3-r1.ebuild

index 00bcf909a633eef686098a22ec457b655217c254..eda854a842ae967e35da424e97d97d066c1b2b93 100644 (file)
@@ -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