summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2022-01-13 18:17:30 +0200
committerLars Wirzenius <liw@liw.fi>2022-01-13 18:17:30 +0200
commit13e3a048a39b52e696285c456b8978050af18dde (patch)
tree79006cc3797080c8d03f95c3cf56df066ef9988b
parent408584e7d61cf60865d9bc45bc9c2085771ad7df (diff)
downloadsubplot-13e3a048a39b52e696285c456b8978050af18dde.tar.gz
fix: set TZ in ./check
If we care about time zones, we should explicitly test every one we care about. Meanwhile, sometimes tests fail for me unless TZ is UTC. Sponsored-by: author
-rwxr-xr-xcheck2
1 files changed, 1 insertions, 1 deletions
diff --git a/check b/check
index 2582709..00fb41c 100755
--- a/check
+++ b/check
@@ -16,7 +16,7 @@ class Runcmd:
def __init__(self, verbose, progress):
self._verbose = verbose
self._progress = progress
- self._env = {}
+ self._env = {"TZ": "UTC"}
def _write_msg(self, msg):
sys.stdout.write(f"{msg}\n")