Skip to content

Commit 3eece9e

Browse files
remove variables
Co-authored-by: Stan Ulbrych <stan@python.org>
1 parent eb163e4 commit 3eece9e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Lib/test/datetimetester.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2227,8 +2227,7 @@ def test_strptime_n_and_t_format(self):
22272227

22282228
def test_strptime_C_format(self):
22292229
# verify cent. 0, zero-padding, modern cent., last supported cent.
2230-
test_centuries = ('0', '01', '20', '99')
2231-
for c in test_centuries:
2230+
for c in ('0', '01', '20', '99'):
22322231
expected_year = int(c) * 100 if int(c) != 0 else 1
22332232
with self.subTest(format_directive="C", century=c):
22342233
self.assertEqual(

0 commit comments

Comments
 (0)