-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
TST: parametrize some indexing tests #31767
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
Conversation
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.
lgtm
…ram-scalar-indexing
…ram-scalar-indexing
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.
ok for now, or can do more here, lmk.
# on appropriate Index types & accessors | ||
|
||
for index in [ | ||
@pytest.mark.parametrize( |
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.
eventually consolidate move to top-level (as i suspect we have many of these fixtures, or will as you parametrize)
"unicode", | ||
"mixed", | ||
}: | ||
# getting |
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.
obviously this test can use ore parameterization, ok for later
@@ -9,61 +9,59 @@ | |||
|
|||
|
|||
class TestScalar(Base): | |||
def test_at_and_iat_get(self): | |||
@pytest.mark.parametrize("kind", ["series", "frame"]) |
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.
make sure we use the same nomenclature, usually we call this klass and use the object itself
thanks |
2/many