We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b3162b commit a9dcba2Copy full SHA for a9dcba2
pandas/tests/io/formats/style/test_style.py
@@ -1552,5 +1552,5 @@ def test_col_trimming_hide_columns():
1552
@pytest.mark.parametrize("format", ["html", "latex"])
1553
def test_output_buffer(mi_styler, format):
1554
# gh 47053
1555
- with open(f"delete_me.{format}", "w") as f:
+ with tm.ensure_clean(f"delete_me.{format}") as f:
1556
getattr(mi_styler, f"to_{format}")(f)
0 commit comments