diff options
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 e24d5d6..1ccb84b 100755 --- a/Lib/test/test_strftime.py +++ b/Lib/test/test_strftime.py @@ -99,7 +99,7 @@ def strftest(now):              print "Standard '%s' format gave error:" % e[0], error              continue          if re.match(e[1], result): continue -        if result[0] == '%': +        if not result or result[0] == '%':              print "Does not support standard '%s' format (%s)" % (e[0], e[2])          else:              print "Conflict for %s (%s):" % (e[0], e[2])  | 
