Skip to content

TST: skip if known-bad version of imagemagick #18730

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 14, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions lib/matplotlib/tests/test_animation.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,11 @@ def test_save_animation_smoketest(tmpdir, writer, output, anim):
def test_animation_repr_html(writer, html, want, anim):
# create here rather than in the fixture otherwise we get __del__ warnings
# about producing no output
if writer == 'imagemagick':
ret = subprocess.run(['convert', '--version'], capture_output=True)
if b'7.0.10-34' in ret.stdout:
# see https://github.com/ImageMagick/ImageMagick/issues/2720
pytest.skip("Known bad version of imagemagick")
anim = animation.FuncAnimation(**anim)
with plt.rc_context({'animation.writer': writer,
'animation.html': html}):
Expand Down