Skip to content

Commit 90e4a15

Browse files
committed
restore e
1 parent 83b4ba3 commit 90e4a15

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

Lib/test/test_time.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -358,9 +358,10 @@ def test_strptime(self):
358358
# Should be able to go round-trip from strftime to strptime without
359359
# raising an exception.
360360
tt = time.gmtime(self.t)
361-
for directive in ('a', 'A', 'b', 'B', 'c', 'C', 'd', 'D', 'F', 'H',
362-
'I', 'j', 'm', 'M', 'n', 'p', 'S', 't', 'T',
363-
'U', 'w', 'W', 'x', 'X', 'y', 'Y', 'Z', '%'):
361+
for directive in ('a', 'A', 'b', 'B', 'c', 'C', 'd', 'D', 'e',
362+
'F', 'H', 'I', 'j', 'm', 'M', 'n', 'p', 'S',
363+
't', 'T', 'U', 'w', 'W', 'x', 'X', 'y', 'Y',
364+
'Z', '%'):
364365
format = '%' + directive
365366
if directive in ('d', 'e'):
366367
format += ',%Y' # Avoid GH-70647.

0 commit comments

Comments
 (0)