mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Issue #11330: Updated tests for correct asctime handling.
This commit is contained in:
parent
ed0473cfaf
commit
89807a5277
2 changed files with 10 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue