Skip to content

TST/REF: collect indexing tests by method #37507

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
Oct 30, 2020

Conversation

jbrockmendel
Copy link
Member

No description provided.

@mroeschke mroeschke added the Testing pandas testing functions or related to the test suite label Oct 30, 2020
@mroeschke mroeschke added this to the 1.2 milestone Oct 30, 2020
@@ -19,3 +19,24 @@ def test_series_set_value():
expected = Series([1.0, np.nan], index=index)

tm.assert_series_equal(s, expected)


def test_set_value_dt64(datetime_series):
Copy link
Contributor

Choose a reason for hiding this comment

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

you really want to create a module named this? e.g. i would put this in setitem / setloc (not sure if we have that)

Copy link
Member Author

Choose a reason for hiding this comment

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

its for the Series._set_value method. next time you want to write a test for that method you'll know exactly where it goes.

Copy link
Contributor

Choose a reason for hiding this comment

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

ahh ok, yeah that's the biggest thing is to put new tests in the right place.

@jreback
Copy link
Contributor

jreback commented Oct 30, 2020

needs a rebase and a comment

@jreback
Copy link
Contributor

jreback commented Oct 30, 2020

kk merge on green

@jbrockmendel jbrockmendel merged commit d55fee7 into pandas-dev:master Oct 30, 2020
@jbrockmendel jbrockmendel deleted the test-indexing-17 branch October 30, 2020 17:16
kesmit13 pushed a commit to kesmit13/pandas that referenced this pull request Nov 2, 2020
* TST/REF: indexing tests by method

* TST: collect indexing tests by method
ukarroum pushed a commit to ukarroum/pandas that referenced this pull request Nov 2, 2020
* TST/REF: indexing tests by method

* TST: collect indexing tests by method
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