Skip to content

TST: add test for #9107 #28386

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Sep 12, 2019
Merged

TST: add test for #9107 #28386

merged 3 commits into from
Sep 12, 2019

Conversation

miggec
Copy link
Contributor

@miggec miggec commented Sep 11, 2019

test to ensure OutOfBoundsDatetime exception is raised when calling
pd.to_datetime with out-of-bounds date strings

As discussed briefly in #28367

test to ensure OutOfBoundsDatetime exception is raised when calling
pd.to_datetime with out-of-bounds date strings
@miggec miggec changed the title add test for #9107 TST: add test for #9107 Sep 11, 2019
@jreback jreback added the Testing pandas testing functions or related to the test suite label Sep 11, 2019
@jreback jreback added this to the 1.0 milestone Sep 11, 2019
@jreback jreback added the Datetime Datetime data dtype label Sep 11, 2019
miggec and others added 2 commits September 12, 2019 10:23
New test is not user facing, does not need to be included in release notes
test_old_date_out_of_bounds_exception -> test_to_datetime_with_format_out_of_bounds
@jreback jreback merged commit dd6f610 into pandas-dev:master Sep 12, 2019
@jreback
Copy link
Contributor

jreback commented Sep 12, 2019

thanks @squigmig

proost pushed a commit to proost/pandas that referenced this pull request Dec 19, 2019
proost pushed a commit to proost/pandas that referenced this pull request Dec 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Datetime Datetime data dtype Testing pandas testing functions or related to the test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

to_datetime returns NaT for old dates with coerce=True
4 participants