Skip to content

Commit 958ffff

Browse files
committed
Add tests for MINYEAR and MAXYEAR
1 parent c8444b7 commit 958ffff

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Lib/test/datetimetester.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1812,6 +1812,8 @@ def test_fromisocalendar(self):
18121812
(2004, 12, 31),
18131813
(1, 1, 1),
18141814
(9999, 12, 31),
1815+
(MINYEAR, 1, 1),
1816+
(MAXYEAR, 12, 31),
18151817
]
18161818

18171819
for datecomps in dates:

0 commit comments

Comments
 (0)