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

Appearance settings

Commit 6a01829

Browse filesBrowse files
committed
TST: Use a better command for annimation tests
python is blocking, leading to timeouts...
1 parent e3e2be9 commit 6a01829
Copy full SHA for 6a01829

File tree

Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed

‎lib/matplotlib/tests/test_animation.py

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/test_animation.py
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,8 @@ def test_movie_writer_registry():
180180
assert_false(animation.writers._dirty)
181181
assert_false(animation.writers.is_available("ffmpeg"))
182182
# something which is garanteered to be available in path
183-
bin = u"python"
183+
# and exits immediately
184+
bin = u"true" if sys.platform != 'win32' else u"where"
184185
mpl.rcParams['animation.ffmpeg_path'] = bin
185186
assert_true(animation.writers._dirty)
186187
animation.writers.list() # resets

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.