Skip to content

Commit 9f5a37e

Browse files
committed
reorder helper tuples to reflect loop order
1 parent 4e366cb commit 9f5a37e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Lib/test/datetimetester.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2208,8 +2208,8 @@ def test_strptime_D_format(self):
22082208
)
22092209

22102210
def test_strptime_n_and_t_format(self):
2211-
whitespaces = ('', ' ', '\t', '\r', '\v', '\n', '\f')
22122211
format_directives = ('%n', '%t', '%n%t', '%t%n')
2212+
whitespaces = ('', ' ', '\t', '\r', '\v', '\n', '\f')
22132213
for fd in format_directives:
22142214
for ws in (*whitespaces, ''.join(whitespaces)):
22152215
with self.subTest(format_directive=fd, whitespace=ws):

Lib/test/test_strptime.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -671,8 +671,8 @@ def test_strptime_D_format(self):
671671
)
672672

673673
def test_strptime_n_and_t_format(self):
674-
whitespaces = ('', ' ', '\t', '\r', '\v', '\n', '\f')
675674
format_directives = ('%n', '%t', '%n%t', '%t%n')
675+
whitespaces = ('', ' ', '\t', '\r', '\v', '\n', '\f')
676676
for fd in format_directives:
677677
for ws in (*whitespaces, ''.join(whitespaces)):
678678
with self.subTest(format_directive=fd, whitespace=ws):

0 commit comments

Comments
 (0)