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 76f355b

Browse filesBrowse files
authored
Merge pull request #19331 from QuLogic/im-requires-ffmpeg
2 parents 0d4c60b + b5fe1d1 commit 76f355b
Copy full SHA for 76f355b

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+4
-0
lines changed

‎lib/matplotlib/tests/test_animation.py

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/test_animation.py
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,10 @@ def test_save_animation_smoketest(tmpdir, writer, frame_format, output, anim):
201201
])
202202
@pytest.mark.parametrize('anim', [dict(klass=dict)], indirect=['anim'])
203203
def test_animation_repr_html(writer, html, want, anim):
204+
if (writer == 'imagemagick' and html == 'html5'
205+
# ImageMagick delegates to ffmpeg for this format.
206+
and not animation.FFMpegWriter.isAvailable()):
207+
pytest.skip('Requires FFMpeg')
204208
# create here rather than in the fixture otherwise we get __del__ warnings
205209
# about producing no output
206210
anim = animation.FuncAnimation(**anim)

0 commit comments

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