Issue #11330: Updated tests for correct asctime handling.

This commit is contained in:
Vinay Sajip 2011-02-26 16:06:02 +00:00
parent 4a7f2168a6
commit 399fc14609
2 changed files with 3 additions and 3 deletions

View file

@ -383,7 +383,7 @@ class StrFormatStyle(PercentStyle):
class StringTemplateStyle(PercentStyle):
default_format = '${message}'
asctime_format = '${asctime}'
asctime_search = '${asctime'
asctime_search = '${asctime}'
def __init__(self, fmt):
self._fmt = fmt or self.default_format