Skip to content

Commit 2f91a57

Browse files
committed
directive
1 parent 9541826 commit 2f91a57

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Lib/test/datetimetester.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2212,7 +2212,7 @@ def test_strptime_n_and_t_format(self):
22122212
whitespaces = ('', ' ', '\t', '\r', '\v', '\n', '\f')
22132213
for fd in ('n', 't'):
22142214
for ws in (*whitespaces, ''.join(whitespaces)):
2215-
with self.subTest(format_descriptor=fd, whitespace=ws):
2215+
with self.subTest(format_directive=fd, whitespace=ws):
22162216
self.assertEqual(
22172217
self.theclass.strptime(
22182218
f"{year:04d}{ws}{month:02d}{ws}{day:02d}",

Lib/test/test_strptime.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,7 @@ def test_strptime_n_and_t_format(self):
675675
whitespaces = ('', ' ', '\t', '\r', '\v', '\n', '\f')
676676
for fd in ('n', 't'):
677677
for ws in (*whitespaces, ''.join(whitespaces)):
678-
with self.subTest(format_descriptor=fd, whitespace=ws):
678+
with self.subTest(format_directive=fd, whitespace=ws):
679679
self.assertEqual(
680680
time.strptime(
681681
f"{year:04d}{ws}{month:02d}{ws}{day:02d}",

0 commit comments

Comments
 (0)