File tree 1 file changed +1
-9
lines changed
1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -132,13 +132,6 @@ def isAvailable(cls):
132
132
# matplotlib.testing.image_comparison
133
133
@pytest .mark .parametrize ('writer, output' , WRITER_OUTPUT )
134
134
def test_save_animation_smoketest (tmpdir , writer , output ):
135
- try :
136
- # for ImageMagick the rcparams must be patched to account for
137
- # 'convert' being a built in MS tool, not the imagemagick
138
- # tool.
139
- writer ._init_from_registry ()
140
- except AttributeError :
141
- pass
142
135
if not animation .writers .is_available (writer ):
143
136
pytest .skip ("writer '%s' not available on this system" % writer )
144
137
fig , ax = plt .subplots ()
@@ -182,8 +175,7 @@ def test_movie_writer_registry():
182
175
assert len (animation .writers ._registered ) > 0
183
176
mpl .rcParams ['animation.ffmpeg_path' ] = "not_available_ever_xxxx"
184
177
assert not animation .writers .is_available ("ffmpeg" )
185
- # something which is guaranteed to be available in path
186
- # and exits immediately
178
+ # something guaranteed to be available in path and exits immediately
187
179
bin = "true" if sys .platform != 'win32' else "where"
188
180
mpl .rcParams ['animation.ffmpeg_path' ] = bin
189
181
assert animation .writers .is_available ("ffmpeg" )
You can’t perform that action at this time.
0 commit comments