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 9bca909 commit 25128e3Copy full SHA for 25128e3
tests/unit/test_date.py
@@ -137,9 +137,9 @@ def test_date_set_slice_null():
137
("1-3", "Bad date string: '1-3'"),
138
("1", "Bad date string: '1'"),
139
("", "Bad date string: ''"),
140
- ("2021-2-99", "day is out of range for month"),
+ ("2021-2-99", "day is out of range for month|day .* must be in range .*"),
141
("2021-99-1", "month must be in 1[.][.]12"),
142
- ("10000-1-1", "year 10000 is out of range"),
+ ("10000-1-1", "year 10000 is out of range|year must be in .*"),
143
],
144
)
145
def test_date_parsing_errors(value, error):
0 commit comments