summaryrefslogtreecommitdiff
path: root/gen_tests.py
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2005-05-10 20:56:48 +0000
committerArch Librarian <arch@canonical.com>2005-05-10 20:56:48 +0000
commita9b69e38533a4a7c16d14b59fbe8864b9c003871 (patch)
treea4ca55fcfcc87ec704ffd2c8af9fb6041d976d8b /gen_tests.py
parent07695a633d6fab4dbd79fe602e9b363202ac1ac9 (diff)
downloadpytz-a9b69e38533a4a7c16d14b59fbe8864b9c003871.tar.gz
DST offset must be rounded to nearest minute
Author: zenzen Date: 2004-06-03 02:47:19 GMT DST offset must be rounded to nearest minute
Diffstat (limited to 'gen_tests.py')
-rw-r--r--gen_tests.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/gen_tests.py b/gen_tests.py
index bfe71cc..bb03907 100644
--- a/gen_tests.py
+++ b/gen_tests.py
@@ -1,11 +1,11 @@
#!/usr/bin/env python
# -*- coding: ascii -*-
'''
-$Id: gen_tests.py,v 1.6 2004/06/03 00:15:24 zenzen Exp $
+$Id: gen_tests.py,v 1.7 2004/06/03 02:47:19 zenzen Exp $
'''
-__rcs_id__ = '$Id: gen_tests.py,v 1.6 2004/06/03 00:15:24 zenzen Exp $'
-__version__ = '$Revision: 1.6 $'[11:-2]
+__rcs_id__ = '$Id: gen_tests.py,v 1.7 2004/06/03 02:47:19 zenzen Exp $'
+__version__ = '$Revision: 1.7 $'[11:-2]
import os, os.path, popen2, re, sys
from gen_tzinfo import allzones
@@ -40,6 +40,7 @@ from datetime import tzinfo, timedelta, datetime
"""
for zone in allzones():
+ print 'Generating test for %s in test_zdump.py' % (zone,)
tname = zone.replace(
'+', '_plus_').replace('-', '_minus_').replace('/','_')
print >> outf, '\ndef test_%s():' % tname