summaryrefslogtreecommitdiff
path: root/test_zdump.py
diff options
context:
space:
mode:
authorStuart Bishop <stuart@stuartbishop.net>2014-09-01 17:39:25 +0700
committerStuart Bishop <stuart@stuartbishop.net>2014-09-01 17:39:25 +0700
commit880f0956d1eb9b64d64786f4f53fdf0cbf8b00b4 (patch)
treebd36f4c2638c73d56f7abd96ed92a4399ff38254 /test_zdump.py
parentb792df53cd59af2b2fba1b5e6ced26c443b7540c (diff)
downloadpytz-880f0956d1eb9b64d64786f4f53fdf0cbf8b00b4.tar.gz
Fix tests to cope with altered zdump outputrelease_2014.7
Diffstat (limited to 'test_zdump.py')
-rw-r--r--test_zdump.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test_zdump.py b/test_zdump.py
index 957423c..0a88788 100644
--- a/test_zdump.py
+++ b/test_zdump.py
@@ -30,7 +30,8 @@ def test_suite():
last_zone = None
test_class = None
zdump_line_re = re.compile(r'''(?x)
- ^([^\s]+) \s+ (.+) \s UT \s+ = \s+ (.+) \s ([^\s]+) \s+ isdst=(0|1)$
+ ^([^\s]+) \s+ (.+) \s UT \s+ = \s+ (.+) \s ([^\s]+) \s+
+ isdst=(0|1) \s+ gmtoff=[\-\d]+ \s*$
''')
for i in range(0, len(raw_data)):
line = raw_data[i]