summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-07-13 10:14:03 +0200
committerMichał Górny <mgorny@gentoo.org>2018-07-13 10:22:51 +0200
commit782a9eb346dc594a4e85da3b1e5f6e64caaad445 (patch)
treed386f7190b6359a58313f8b95deeb55987c8a63f /dev-python/Babel
parentdev-python/Babel: Enable verbose tests (diff)
downloadgentoo-782a9eb346dc594a4e85da3b1e5f6e64caaad445.tar.gz
gentoo-782a9eb346dc594a4e85da3b1e5f6e64caaad445.tar.bz2
gentoo-782a9eb346dc594a4e85da3b1e5f6e64caaad445.zip
dev-python/Babel: Force known-working timezone for tests
Closes: https://bugs.gentoo.org/614070
Diffstat (limited to 'dev-python/Babel')
-rw-r--r--dev-python/Babel/Babel-2.5.3-r1.ebuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/dev-python/Babel/Babel-2.5.3-r1.ebuild b/dev-python/Babel/Babel-2.5.3-r1.ebuild
index 00bcf909a633..eda854a842ae 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