Skip to content

Commit ff3e6ed

Browse files
committed
Merge pull request #3116 from jreback/ensure_clean_fix
BUG: incorrect ensure_clean (was ensure_path)
2 parents fcf9c81 + 81802ca commit ff3e6ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tseries/tests/test_plotting.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -964,7 +964,7 @@ def _check_plot_works(f, freq=None, series=None, *args, **kwargs):
964964
except Exception:
965965
pass
966966

967-
with ensure_path() as path:
967+
with ensure_clean() as path:
968968
plt.savefig(path)
969969

970970
if __name__ == '__main__':

0 commit comments

Comments
 (0)