Skip to content

Commit f5ce8a9

Browse files
authored
Merge pull request #8446 from radarhere/close
2 parents 27c1bb2 + 76dd669 commit f5ce8a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/test_imageshow.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,5 +117,5 @@ def test_ipythonviewer() -> None:
117117
else:
118118
pytest.fail("IPythonViewer not found")
119119

120-
im = hopper()
121-
assert test_viewer.show(im) == 1
120+
with hopper() as im:
121+
assert test_viewer.show(im) == 1

0 commit comments

Comments
 (0)