Skip to content

Commit

Permalink
Add bitrate to animation smoke tests.
Browse files Browse the repository at this point in the history
This should help catch more problems in commandline argument handling,
like matplotlib#4003.
  • Loading branch information
dopplershift committed Jan 15, 2015
1 parent f6e63da commit 3d193ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/matplotlib/tests/test_animation.py
Expand Up @@ -54,7 +54,7 @@ def animate(i):
F.close()
anim = animation.FuncAnimation(fig, animate, init_func=init, frames=5)
try:
anim.save(F.name, fps=30, writer=writer)
anim.save(F.name, fps=30, writer=writer, bitrate=500)
except UnicodeDecodeError:
raise KnownFailureTest("There can be errors in the numpy " +
"import stack, " +
Expand Down

0 comments on commit 3d193ae

Please sign in to comment.