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

test: allow to select which backend(s) to run tests for #1690

Open
MarcoGorelli opened this issue Dec 31, 2024 · 1 comment
Open

test: allow to select which backend(s) to run tests for #1690

MarcoGorelli opened this issue Dec 31, 2024 · 1 comment
Labels

Comments

@MarcoGorelli
Copy link
Member

From a request in rapidsai/cudf#17662 (comment)

I've also wanted this myself, sometimes I just want to quickly run the pandas tests without waiting for the much slower modin / dask ones. Currently the only way to do that is to uninstall modin and/or dask, but it would be really nice if we could do something like

pytest -m 'pandas,polars,pandas[pyarrow]'
@camriddell
Copy link
Contributor

I was just wishing for this today as well! We will probably need to swap out the string comparisons in the tests for a structured object.

namedtuple("...", ["backend", "dtype", "eval_strategy"])

where

  • backend is the dataframe library,
  • dtype is numpy, numpy_nullable, pyarrow, ?
  • eval_strategy: eager, lazy

Since I just added modin_pyarrow I need to go through and catch all of the if "pyarrow" in str(constructor) 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants