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 0f3dbc4

Browse filesBrowse files
authored
Merge pull request matplotlib#6767 from tacaswell/tst_win_reg_fix
TST: reset rcparams in animation smoke test
2 parents a569f11 + 37785c9 commit 0f3dbc4
Copy full SHA for 0f3dbc4

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+7
-0
lines changed

‎lib/matplotlib/tests/test_animation.py

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/test_animation.py
+7Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,13 @@ def test_save_animation_smoketest():
3030

3131
@cleanup
3232
def check_save_animation(writer, extension='mp4'):
33+
try:
34+
# for ImageMagick the rcparams must be patched to account for
35+
# 'convert' being a built in MS tool, not the imagemagick
36+
# tool.
37+
writer._init_from_registry()
38+
except AttributeError:
39+
pass
3340
if not animation.writers.is_available(writer):
3441
raise KnownFailureTest("writer '%s' not available on this system"
3542
% writer)

0 commit comments

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