We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83b4ba3 commit 90e4a15Copy full SHA for 90e4a15
1 file changed
Lib/test/test_time.py
@@ -358,9 +358,10 @@ def test_strptime(self):
358
# Should be able to go round-trip from strftime to strptime without
359
# raising an exception.
360
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', '%'):
+ for directive in ('a', 'A', 'b', 'B', 'c', 'C', 'd', 'D', 'e',
+ 'F', 'H', 'I', 'j', 'm', 'M', 'n', 'p', 'S',
+ 't', 'T', 'U', 'w', 'W', 'x', 'X', 'y', 'Y',
364
+ 'Z', '%'):
365
format = '%' + directive
366
if directive in ('d', 'e'):
367
format += ',%Y' # Avoid GH-70647.
0 commit comments