Skip to content

CLN/TST: organize DatetimeIndex tests #31753

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 8 commits into from
Feb 6, 2020

Conversation

jbrockmendel
Copy link
Member

1/many

@@ -344,6 +344,115 @@ def test_take_fill_value_with_timezone(self):
idx.take(np.array([1, -5]))


class TestGetLoc:
@pytest.mark.parametrize("method", [None, "pad", "backfill", "nearest"])
def test_get_loc_method_exact_match(self, method):
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 a new test or broken off? Nice idea but probably worth flat moves first then updates

Copy link
Member Author

Choose a reason for hiding this comment

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

broken off. will do in separate steps going forward.

@WillAyd WillAyd added the Testing pandas testing functions or related to the test suite label Feb 6, 2020
@jreback jreback added this to the 1.1 milestone Feb 6, 2020
@jreback jreback merged commit aa720d4 into pandas-dev:master Feb 6, 2020
@jbrockmendel jbrockmendel deleted the ref-dtindex branch February 6, 2020 23:53
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.

3 participants