-
Notifications
You must be signed in to change notification settings - Fork 6
Closed
Labels
api: bigqueryIssues related to the googleapis/python-db-dtypes-pandas API.Issues related to the googleapis/python-db-dtypes-pandas API.flakybot: flakyTells the Flaky Bot not to close or comment on this issue.Tells the Flaky Bot not to close or comment on this issue.flakybot: issueAn issue filed by the Flaky Bot. Should not be added manually.An issue filed by the Flaky Bot. Should not be added manually.priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.Important issue which blocks shipping the next release. Will be fixed prior to next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
This test failed!
To configure my behavior, see the Flaky Bot documentation.
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: af67adc
buildURL: Build Status, Sponge
status: failed
Test output
value = '9999-12-31', error = 'Out of bounds'@pytest.mark.parametrize( "value, error", [ ("thursday", "Bad date string: 'thursday'"), ("1-2-thursday", "Bad date string: '1-2-thursday'"), ("1-2-3-4", "Bad date string: '1-2-3-4'"), ("1-2-3.f", "Bad date string: '1-2-3.f'"), ("1-d-3", "Bad date string: '1-d-3'"), ("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-99-1", "month must be in 1[.][.]12"), ("10000-1-1", "year 10000 is out of range"), # Outside of min/max values pandas.Timestamp. ("0001-01-01", "Out of bounds"), ("9999-12-31", "Out of bounds"), ("1677-09-21", "Out of bounds"), ("2262-04-12", "Out of bounds"), ], ) def test_date_parsing_errors(value, error):
with pytest.raises(ValueError, match=error):
E Failed: DID NOT RAISE <class 'ValueError'>
tests/unit/test_date.py:154: Failed
Metadata
Metadata
Assignees
Labels
api: bigqueryIssues related to the googleapis/python-db-dtypes-pandas API.Issues related to the googleapis/python-db-dtypes-pandas API.flakybot: flakyTells the Flaky Bot not to close or comment on this issue.Tells the Flaky Bot not to close or comment on this issue.flakybot: issueAn issue filed by the Flaky Bot. Should not be added manually.An issue filed by the Flaky Bot. Should not be added manually.priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.Important issue which blocks shipping the next release. Will be fixed prior to next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.