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