Skip to content

Use non-consumable iterators for test fixtures #4065

Closed

Description

@d-v-b

Pytest is emitting some deprecation warnings that are causing test failures, e.g. https://github.com/zarr-developers/zarr-python/actions/runs/27602093315/job/81605265762?pr=3987#step:7:61.

see https://docs.pytest.org/en/stable/deprecations.html#non-collection-iterables-in-pytest-mark-parametrize

we need to updated our tests to get ahead of this.

Activity

  1. d-v-b commented on Jun 16, 2026

    @d-v-b
    ContributorAuthor

    update: these failures are actually caused by a bug in pytest that will be fixed in the next release. I opened #4066 to ensure that we are not exposed to this kind of thing again.

  2. maxrjones commented on Jun 25, 2026

    @maxrjones
    Member

    fixed by #4066 IIUC

  3. added
    chore
    on Jun 25, 2026
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

    chore

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions