Skip to content

Commit 40a88f8

Browse files
authored
CLN: ensure clean up styler tests (#47135)
1 parent 647271e commit 40a88f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/io/formats/style/test_style.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1562,5 +1562,5 @@ def test_no_empty_apply(mi_styler):
15621562
@pytest.mark.parametrize("format", ["html", "latex", "string"])
15631563
def test_output_buffer(mi_styler, format):
15641564
# gh 47053
1565-
with open(f"delete_me.{format}", "w") as f:
1565+
with tm.ensure_clean(f"delete_me.{format}") as f:
15661566
getattr(mi_styler, f"to_{format}")(f)

0 commit comments

Comments
 (0)