Skip to content

Commit 09a3dac

Browse files
committed
fix tm_wday copy/paste mistake
1 parent 2224f68 commit 09a3dac

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Lib/test/test_time.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -198,11 +198,11 @@ def test_gmtime(self):
198198
# non-leap years (pre epoch)
199199
(-2203891200, (1900, 3, 1, 0, 0, 0, 3, 60)),
200200
(-2203977600, (1900, 2, 28, 0, 0, 0, 2, 59)),
201-
(-5359564800, (1800, 3, 1, 0, 0, 0, 3, 60)),
202-
(-5359651200, (1800, 2, 28, 0, 0, 0, 2, 59)),
201+
(-5359564800, (1800, 3, 1, 0, 0, 0, 5, 60)),
202+
(-5359651200, (1800, 2, 28, 0, 0, 0, 4, 59)),
203203
# leap years (pre epoch)
204-
(-2077660800, (1904, 3, 1, 0, 0, 0, 3, 61)),
205-
(-2077833600, (1904, 2, 28, 0, 0, 0, 1, 59)),
204+
(-2077660800, (1904, 3, 1, 0, 0, 0, 1, 61)),
205+
(-2077833600, (1904, 2, 28, 0, 0, 0, 6, 59)),
206206
):
207207
with self.subTest(t=t, expected=expected):
208208
res = time.gmtime(t)

0 commit comments

Comments
 (0)