-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Parametrized tests #6526
Parametrized tests #6526
Conversation
test_image_resize.py can be parametrized more than that (I had to change the file extension to upload it here). test_image_resize.txt Here too: Pillow/Tests/test_image_resample.py Lines 516 to 518 in 0ed03d4
can be: @pytest.mark.parametrize("resample", (Image.Resampling.NEAREST, Image.Resampling.BILINEAR))
@pytest.mark.parametrize("mode", ("RGB", "L", "RGBA", "LA", "I", ""))
def test_formats(self, resample, mode): It looks like you only parametrized one parameter, but the |
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks!
Please can you merge/rebase to include #6529 and make sure the Windows tests pass?
Helps #6525