Skip to content

Allow an easy/compatible way to get a second fixture #63

Description

@flying-sheep

For def test_thing(array_type, target_array_type).

This doesn‘t look great:

@pytest.mark.array_type(skip=NON_BASIC_FLAGS)
@pytest.mark.parametrize(
    "new_array_type", [t for t in SUPPORTED_TYPES if not (t.flags & NON_BASIC_FLAGS)]
)
def test_setter_view(
    array_type: ArrayType[np.ndarray | CSMatrix | CSArray],
    new_array_type: ArrayType[np.ndarray | CSMatrix | CSArray],
) -> None:
    ...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    parityAny issue needed for feature parity with anndata/scanpy

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions