Skip to content

Commit bd8449f

Browse files
committed
remove deprecated imghdr in python 3.13
1 parent ead915c commit bd8449f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

supvisors/tests/test_plot.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@ def test_plot_error(mocker, logger_instance):
5252
# export image in buffer
5353
contents = StatsImage()
5454
plot.export_image(contents)
55-
# test that result is a PNG file
56-
assert imghdr.what('', h=contents.contents.getvalue()) is None
5755

5856

5957
def test_get_range():

0 commit comments

Comments
 (0)