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

If absent, do not try to close fp when closing image #7557

Merged

fix: check object Image has attribute 'fp' when closes

b25ece3
Select commit
Loading
Failed to load commit list.
Merged

If absent, do not try to close fp when closing image #7557

fix: check object Image has attribute 'fp' when closes
b25ece3
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch failed Nov 16, 2023 in 0s

63.15% of diff hit (target 89.66%)

View this Pull Request on Codecov

63.15% of diff hit (target 89.66%)

Annotations

Check warning on line 559 in src/PIL/Image.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/PIL/Image.py#L553-L559

Added lines #L553 - L559 were not covered by tests