Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7d847ea

Browse files
committed
TST: Use a better command for annimation tests
python is blocking, leading to timeouts...
1 parent0a1ae7c commit7d847ea

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎lib/matplotlib/tests/test_animation.py

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp