8000 TST: Use a better command for annimation tests · matplotlib/matplotlib@b46d8aa · GitHub
[go: up one dir, main page]

Skip to content

Commit b46d8aa

Browse files
committed
TST: Use a better command for annimation tests
python is blocking, leading to timeouts...
1 parent 0a1ae7c commit b46d8aa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/matplotlib/tests/test_animation.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,8 @@ def test_movie_writer_registry():
102102
assert_false(animation.writers._dirty)
103103
assert_false(animation.writers.is_available("ffmpeg"))
104104
# something which is garanteered to be available in path
105-
bin = u"python"
105+
# and exits immediately
106+
bin = u"true" if sys.platform != 'win32' else u"where"
106107
mpl.rcParams['animation.ffmpeg_path'] = bin
107108
assert_true(animation.writers._dirty)
108109
animation.writers.list() # resets

0 commit comments

Comments
 (0)
0