Skip to content

Commit 95b1002

Browse files
committed
test_style updated
1 parent 6e1e851 commit 95b1002

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1597,7 +1597,7 @@ def test_no_empty_apply(mi_styler):
15971597

15981598

15991599
@pytest.mark.parametrize("format", ["html", "latex", "string"])
1600-
def test_output_buffer(mi_styler, format):
1600+
def test_output_buffer(mi_styler, format, temp_file):
16011601
# gh 47053
1602-
with tm.ensure_clean(f"delete_me.{format}") as f:
1603-
getattr(mi_styler, f"to_{format}")(f)
1602+
f = str(temp_file)
1603+
getattr(mi_styler, f"to_{format}")(f)

0 commit comments

Comments
 (0)