From ab3db80f668f139e25b91a3db220b850e12c9a49 Mon Sep 17 00:00:00 2001 From: Thomas A Caswell Date: Sat, 16 Jul 2016 17:24:42 -0500 Subject: [PATCH] TST: reset rcparams in animation smoke test Closes #6523 --- lib/matplotlib/tests/test_animation.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/matplotlib/tests/test_animation.py b/lib/matplotlib/tests/test_animation.py index 786edeed3337..8a8901019553 100644 --- a/lib/matplotlib/tests/test_animation.py +++ b/lib/matplotlib/tests/test_animation.py @@ -30,6 +30,10 @@ def test_save_animation_smoketest(): @cleanup def check_save_animation(writer, extension='mp4'): + try: + writer._init_from_registry() + except AttributeError: + pass if not animation.writers.is_available(writer): raise KnownFailureTest("writer '%s' not available on this system" % writer)