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 0a1ae7c commit 7d847eaCopy full SHA for 7d847ea
lib/matplotlib/tests/test_animation.py
@@ -101,8 +101,9 @@ def test_movie_writer_registry():
101
animation.writers.list() # resets
102
assert_false(animation.writers._dirty)
103
assert_false(animation.writers.is_available("ffmpeg"))
104
- # something which is garanteered to be available in path
105
- bin = u"python"
+ # something which is garanteered to be available in path
+ # and exits immediately
106
+ bin = u"true" if sys.platform != 'win32' else u"where"
107
mpl.rcParams['animation.ffmpeg_path'] = bin
108
assert_true(animation.writers._dirty)
109
0 commit comments