Skip to content

MAINT: fix pytest deprecation warning - #855

Merged
rgommers merged 1 commit into
PyWavelets:mainfrom
cfauchereau:fix-pytest-depreciation
Aug 13, 2026
Merged

MAINT: fix pytest deprecation warning#855
rgommers merged 1 commit into
PyWavelets:mainfrom
cfauchereau:fix-pytest-depreciation

Conversation

@cfauchereau

Copy link
Copy Markdown
Contributor

Since pytest 9.1, using non-Collection iterables in @pytest.mark.parametrize is deprecated (see https://docs.pytest.org/en/stable/deprecations.html#parametrize-iterators).

Fortunately, it is easily fixable by converting the iterable to a list as suggested in pytest documentation.

This should fix the recently failing CI jobs.

@rgommers rgommers added this to the v1.10.0 milestone Aug 13, 2026

@rgommers rgommers left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thank you @cfauchereau!

@rgommers rgommers changed the title MAINT: fix pytest depreciation warning MAINT: fix pytest deprecation warning Aug 13, 2026
@rgommers
rgommers merged commit 80c8739 into PyWavelets:main Aug 13, 2026
15 of 18 checks passed
@rgommers

Copy link
Copy Markdown
Member

CI failures were unrelated.

@cfauchereau
cfauchereau deleted the fix-pytest-depreciation branch August 13, 2026 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants