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 97c1bfb commit 2224f68Copy full SHA for 2224f68
1 file changed
Lib/test/test_time.py
@@ -197,9 +197,12 @@ def test_gmtime(self):
197
(-6177600, (1969, 10, 21, 12, 0, 0, 1, 294)),
198
# non-leap years (pre epoch)
199
(-2203891200, (1900, 3, 1, 0, 0, 0, 3, 60)),
200
+ (-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)),
203
# leap years (pre epoch)
204
(-2077660800, (1904, 3, 1, 0, 0, 0, 3, 61)),
205
+ (-2077833600, (1904, 2, 28, 0, 0, 0, 1, 59)),
206
):
207
with self.subTest(t=t, expected=expected):
208
res = time.gmtime(t)
0 commit comments