File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 44from matplotlib import pyplot as plt
55from matplotlib import animation
66from matplotlib .testing .noseclasses import KnownFailureTest
7+ from matplotlib .testing .decorators import cleanup
78
89
910WRITER_OUTPUT = dict (ffmpeg = 'mp4' , ffmpeg_file = 'mp4' ,
1011 mencoder = 'mp4' , mencoder_file = 'mp4' ,
1112 avconv = 'mp4' , avconv_file = 'mp4' ,
1213 imagemagick = 'gif' , imagemagick_file = 'gif' )
13-
14+
1415
1516
1617# Smoke test for saving animations. In the future, we should probably
1718# design more sophisticated tests which compare resulting frames a-la
1819# matplotlib.testing.image_comparison
20+ @cleanup
1921def test_save_animation_smoketest ():
2022 for writer , extension in WRITER_OUTPUT .iteritems ():
2123 yield check_save_animation , writer , extension
You can’t perform that action at this time.
0 commit comments