Skip to content
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: parametrize the tests checking __module__ #60270

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

espoirMur
Copy link
Contributor

Parametrize the test part of #55178

@simonjayhawkins simonjayhawkins added Testing pandas testing functions or related to the test suite Sprints Sprint Pull Requests labels Nov 9, 2024
@simonjayhawkins simonjayhawkins added this to the 3.0 milestone Nov 9, 2024
Copy link
Member

@simonjayhawkins simonjayhawkins left a comment

Choose a reason for hiding this comment

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

Thanks @espoirMur

I hold off merging this for now to avoid conflicts with the other open PRs

@jorisvandenbossche jorisvandenbossche changed the title add parametrization to the tests TST: parametrize the tests checking __module__ Nov 11, 2024
@simonjayhawkins
Copy link
Member

Thanks @espoirMur for working on this. Now that I've had a closer look at the api testing, I see that the tests are class based and not using fixtures so parameterizing the tests probably would not be beneficial as we won't be able to re-use fixtures to ensure that all of the public api is covered.

I suspect that we would need to add the checking of the __module__ attribute to the class based testing.

@jorisvandenbossche what's you thoughts here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Sprints Sprint Pull Requests Testing pandas testing functions or related to the test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants