Skip to content

TST: move misplaced to_datetime test #32273

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 1 commit into from
Feb 27, 2020

Conversation

jbrockmendel
Copy link
Member

No description provided.

@@ -1376,6 +1376,86 @@ def test_to_datetime_errors_ignore_utc_true(self):
expected = DatetimeIndex(["1970-01-01 00:00:01"], tz="UTC")
tm.assert_index_equal(result, expected)

# TODO: this is moved from tests.series.test_timeseries, may be redundant
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this actually redundant? If so I think should just clean up as part of this instead of comment

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

at the very least it needs to be split up, but @simonjayhawkins requested that splitting be done in separate steps, which I agreed to

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is a common issue with moving tests, moving and refactoring/cleaning together is more difficult to review and check blame in the future. so atomic commits are good and just moving is fine.

@WillAyd WillAyd added the Testing pandas testing functions or related to the test suite label Feb 27, 2020
@WillAyd WillAyd merged commit 8621970 into pandas-dev:master Feb 27, 2020
@jbrockmendel jbrockmendel deleted the tst-to_datetime branch February 27, 2020 14:59
@simonjayhawkins simonjayhawkins added this to the 1.1 milestone Mar 2, 2020
roberthdevries pushed a commit to roberthdevries/pandas that referenced this pull request Mar 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Testing pandas testing functions or related to the test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants