summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_strftime.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-08-18 15:37:38 (GMT)
committerGuido van Rossum <guido@python.org>1997-08-18 15:37:38 (GMT)
commite7038425b1480abe03fb579384d9667d26191d10 (patch)
treef6ac5807f3ac6116560e9663bafc5279e0c62d80 /Lib/test/test_strftime.py
parentf07eaea13400c389751d4c398a64038753f5b851 (diff)
downloadcpython-e7038425b1480abe03fb579384d9667d26191d10.zip
cpython-e7038425b1480abe03fb579384d9667d26191d10.tar.gz
cpython-e7038425b1480abe03fb579384d9667d26191d10.tar.bz2
Tweaks to cope with strftime returning 0 without error for %Z
Diffstat (limited to 'Lib/test/test_strftime.py')
-rwxr-xr-xLib/test/test_strftime.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_strftime.py b/Lib/test/test_strftime.py
index 2596287..25cf935 100755
--- a/Lib/test/test_strftime.py
+++ b/Lib/test/test_strftime.py
@@ -69,7 +69,7 @@ def strftest(now):
nonstandard_expectations = (
# These are standard but don't have predictable output
('%c', fixasctime(time.asctime(now)), 'near-asctime() format'),
- ('%Z', tz, 'time zone name'),
+ ('(%Z)', '(%s)' % tz, 'time zone name'),
# These are some platform specific extensions
('%D', '%02d/%02d/%02d' % (now[1], now[2], (now[0]%100)), 'mm/dd/yy'),