Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/unit/test_date.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,9 @@ def test_date_set_slice_null():
("1-3", "Bad date string: '1-3'"),
("1", "Bad date string: '1'"),
("", "Bad date string: ''"),
("2021-2-99", "day is out of range for month"),
("2021-2-99", "day is out of range for month|day 99 must be in range 1..28 for month 2 in year 2021"),
("2021-99-1", "month must be in 1[.][.]12"),
("10000-1-1", "year 10000 is out of range"),
("10000-1-1", "year 10000 is out of range|year must be in 1..9999, not 10000"),
],
)
def test_date_parsing_errors(value, error):
Expand Down
Loading