mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-14 13:46:57 +03:00
Fixed unclosed file warning
This commit is contained in:
parent
27c1bb2654
commit
76dd669e6b
|
@ -117,5 +117,5 @@ def test_ipythonviewer() -> None:
|
|||
else:
|
||||
pytest.fail("IPythonViewer not found")
|
||||
|
||||
im = hopper()
|
||||
assert test_viewer.show(im) == 1
|
||||
with hopper() as im:
|
||||
assert test_viewer.show(im) == 1
|
||||
|
|
Loading…
Reference in New Issue
Block a user