-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
TST/REF: collect/parametrize tests from tests.generic #37730
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.
Looks reasonable
@@ -41,49 +40,76 @@ def test_convert_dti_to_series(self): | |||
), | |||
name="B", | |||
) | |||
assert expected.dtype == idx.dtype |
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.
I'm probably a little rusty on review :-) but is using assert in a fixture a common idiom?
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 probably not super-encouraged but i dont think its an anti-pattern
For some of these its just breaking up big tests and giving them meaningful names.