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

Add official testing.anndata API #1699

Open
3 tasks
flying-sheep opened this issue Sep 26, 2024 · 0 comments
Open
3 tasks

Add official testing.anndata API #1699

flying-sheep opened this issue Sep 26, 2024 · 0 comments

Comments

@flying-sheep
Copy link
Member

Please describe your wishes and possible alternatives to achieve the desired result.

AnnData.tests.helpers is an undocumented mess

We should clearly distinguish

  • between non-pytest helpers (testing.anndata) and a pytest plugin (testing.anndata.pytest). Only the second would import pytest and e.g. define the GPU marker (see Move test helpers rapids_singlecell#267)
  • between public and private helpers

And we should

  • document how exactly things like assert_equal work and what they support. (As well as that they’re singledispatch and therefore extensible)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant