-
-
Notifications
You must be signed in to change notification settings - Fork 18.6k
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
TST/REF: collect indexing tests by method #37507
Conversation
@@ -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): |
There was a problem hiding this comment.
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)
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
needs a rebase and a comment |
kk merge on green |
* TST/REF: indexing tests by method * TST: collect indexing tests by method
* TST/REF: indexing tests by method * TST: collect indexing tests by method
No description provided.