pydata/pandas — pull request #5359 by jtratner (2013-10-28 03:10:35+00:00)
Title: TST: Make sure files are removed in test_graphics

plt.savefig() appends an extension by default, which messes up ensure_clean().
Added option to ensure_clean() to just return file-like.

Closes #5347.