Anders Kaseorg
4aff7147b5
test_stepfunctions: Fix failures under non-UTC timezone ( #3528 )
...
These tests were passing with TZ=UTC, but under a non-UTC timezone
they were failing:
E AssertionError: given
E X = [{'timestamp': datetime.datetime(2020, 1, 1, 0, 0, tzinfo=tzutc()), …}, …]
E and
E Y = [{'timestamp': datetime.datetime(2020, 1, 1, 0, 0, tzinfo=tzlocal()), …}, …]
E X[0]['timestamp'] != Y[0]['timestamp']
With this fix, they pass either way.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2020-12-09 12:25:11 +00:00
..
2020-11-11 15:55:37 +00:00
2020-11-11 15:55:37 +00:00
2020-11-11 15:55:37 +00:00
2020-11-11 15:55:37 +00:00
2020-11-11 15:55:37 +00:00
2020-11-18 08:45:31 +00:00
2020-11-18 10:49:25 +00:00
2020-12-06 08:11:52 +00:00
2020-11-20 12:38:48 +00:00
2020-11-10 08:25:05 +01:00
2020-11-11 15:55:37 +00:00
2020-11-10 08:25:05 +01:00
2020-12-03 11:42:10 +01:00
2020-11-11 15:55:37 +00:00
2020-11-11 15:55:37 +00:00
2020-11-10 08:23:44 +01:00
2020-11-10 08:25:05 +01:00
2020-11-10 08:23:44 +01:00
2020-12-07 09:31:53 +00:00
2020-11-10 08:23:44 +01:00
2020-12-07 21:39:57 +00:00
2020-05-12 14:58:35 +01:00
2020-11-10 08:23:44 +01:00
2020-12-08 12:55:49 +00:00
2020-12-04 10:31:28 +00:00
2020-11-10 14:12:38 +01:00
2020-11-10 08:25:05 +01:00
2020-11-22 18:54:59 +00:00
2020-11-17 15:36:17 +00:00
2020-11-11 15:55:37 +00:00
2020-11-10 08:23:44 +01:00
2020-11-10 14:12:38 +01:00
2020-12-04 16:00:48 +00:00
2020-11-11 15:55:37 +00:00
2020-11-10 08:25:05 +01:00
2020-11-10 08:23:44 +01:00
2020-11-10 08:23:44 +01:00
2020-11-11 15:55:37 +00:00
2020-11-11 15:55:37 +00:00
2020-11-11 15:55:37 +00:00
2020-11-11 15:55:37 +00:00
2020-11-10 08:23:44 +01:00
2020-11-11 15:55:37 +00:00
2020-11-10 08:23:44 +01:00
2020-11-10 08:23:44 +01:00
2020-11-10 08:25:05 +01:00
2020-11-10 08:23:44 +01:00
2020-12-01 19:53:01 +00:00
2020-12-04 13:22:19 +00:00
2019-10-31 10:36:05 -07:00
2020-10-10 19:05:21 +01:00
2020-11-20 07:21:05 +00:00
2020-11-11 15:55:37 +00:00
2020-11-10 08:23:44 +01:00
2020-11-10 14:12:38 +01:00
2020-11-11 15:55:37 +00:00
2020-12-03 07:42:19 +00:00
2020-11-11 15:55:37 +00:00
2020-11-11 15:55:37 +00:00
2020-11-11 15:55:37 +00:00
2020-12-09 12:25:11 +00:00
2020-12-08 09:08:40 +00:00
2020-11-10 08:23:44 +01:00
2020-11-11 15:55:37 +00:00
2020-03-31 12:04:04 +01:00
2020-11-10 08:23:44 +01:00
2020-11-10 08:23:44 +01:00
2020-11-10 08:23:44 +01:00