Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b8398fe

Browse filesBrowse files
committed
TST: skip if known-bad version of imagemagick
xref ImageMagick/ImageMagick#2720
1 parent 65b3586 commit b8398fe
Copy full SHA for b8398fe

File tree

Expand file treeCollapse file tree

1 file changed

+5
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-0
lines changed

‎lib/matplotlib/tests/test_animation.py

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/test_animation.py
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,11 @@ def test_save_animation_smoketest(tmpdir, writer, output, anim):
191191
def test_animation_repr_html(writer, html, want, anim):
192192
# create here rather than in the fixture otherwise we get __del__ warnings
193193
# about producing no output
194+
if writer == 'imagemagick':
195+
ret = subprocess.run(['convert', '--version'], capture_output=True)
196+
if b'7.0.10-34' in ret.stdout:
197+
# see https://github.com/ImageMagick/ImageMagick/issues/2720
198+
pytest.skip("Known bad version of imagemagick")
194199
anim = animation.FuncAnimation(**anim)
195200
with plt.rc_context({'animation.writer': writer,
196201
'animation.html': html}):

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.