diff options
author | Guido van Rossum <guido@python.org> | 1999-04-08 20:22:46 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1999-04-08 20:22:46 +0000 |
commit | 0b7dd08d50a275300207d4ff5d91a0e23216661c (patch) | |
tree | 1cae5b0527ba38776d11152c78a0ab00c90e00d1 /Lib/test/test_strftime.py | |
parent | 437cfe842f189fa501a6269cabdc866b78519b56 (diff) | |
download | cpython-git-0b7dd08d50a275300207d4ff5d91a0e23216661c.tar.gz |
# Bah. The same problem occurred a second time.
Diffstat (limited to 'Lib/test/test_strftime.py')
-rwxr-xr-x | Lib/test/test_strftime.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_strftime.py b/Lib/test/test_strftime.py index 1ccb84ba7c..c713d05cc0 100755 --- a/Lib/test/test_strftime.py +++ b/Lib/test/test_strftime.py @@ -116,7 +116,7 @@ def strftest(now): if re.match(e[1], result): if verbose: print "Supports nonstandard '%s' format (%s)" % (e[0], e[2]) - elif result[0] == '%': + elif not result or result[0] == '%': if verbose: print "Does not appear to support '%s' format (%s)" % (e[0], e[2]) |