Skip to content

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