Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6776fb3 commit 9ed1e4dCopy full SHA for 9ed1e4d
1 file changed
lib/matplotlib/tests/test_animation.py
@@ -4,18 +4,20 @@
4
from matplotlib import pyplot as plt
5
from matplotlib import animation
6
from matplotlib.testing.noseclasses import KnownFailureTest
7
+from matplotlib.testing.decorators import cleanup
8
9
10
WRITER_OUTPUT = dict(ffmpeg='mp4', ffmpeg_file='mp4',
11
mencoder='mp4', mencoder_file='mp4',
12
avconv='mp4', avconv_file='mp4',
13
imagemagick='gif', imagemagick_file='gif')
-
14
+
15
16
17
# Smoke test for saving animations. In the future, we should probably
18
# design more sophisticated tests which compare resulting frames a-la
19
# matplotlib.testing.image_comparison
20
+@cleanup
21
def test_save_animation_smoketest():
22
for writer, extension in WRITER_OUTPUT.iteritems():
23
yield check_save_animation, writer, extension
0 commit comments