8000 TST: reset rcparams in animation smoke test · matplotlib/matplotlib@ab3db80 · GitHub
[go: up one dir, main page]

Skip to content

Commit ab3db80

Browse files
committed
TST: reset rcparams in animation smoke test
Closes #6523
1 parent a61f763 commit ab3db80

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/matplotlib/tests/test_animation.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ def test_save_animation_smoketest():
3030

3131
@cleanup
3232
def check_save_animation(writer, extension='mp4'):
33+
try:
34+
writer._init_from_registry()
35+
except AttributeError:
36+
pass
3337
if not animation.writers.is_available(writer):
3438
raise KnownFailureTest("writer '%s' not available on this system"
3539
% writer)

0 commit comments

Comments
 (0)
0