summaryrefslogtreecommitdiff
path: root/test.py
diff options
context:
space:
mode:
authorTomi Pieviläinen <tomi.pievilainen+launchpad@iki.fi>2012-02-19 00:54:32 +0200
committerTomi Pieviläinen <tomi.pievilainen+launchpad@iki.fi>2012-02-19 00:54:32 +0200
commit95b2a249793d9092e9466f48ab24995d06fddf2f (patch)
tree4c49bb49d5b1f2c95f6916738d584cc11088d9c1 /test.py
parentb6993d02819b4f927d76c15613d6648fa416bad3 (diff)
downloaddateutil-95b2a249793d9092e9466f48ab24995d06fddf2f.tar.gz
Fix opening files in tz
Diffstat (limited to 'test.py')
-rwxr-xr-xtest.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/test.py b/test.py
index eda613e..a1a4a9b 100755
--- a/test.py
+++ b/test.py
@@ -3973,6 +3973,10 @@ END:VTIMEZONE
tz = tzfile(BytesIO(base64.decodestring(self.NEW_YORK)))
self.assertEqual(datetime(2007, 3, 31, 20, 12).tzname(), None)
+ def testGettz(self):
+ # bug 892569
+ str(gettz('UTC'))
+
def testBrokenIsDstHandling(self):
# tzrange._isdst() was using a date() rather than a datetime().
# Issue reported by Lennart Regebro.