Skip to content

Commit da668c3

Browse files
committed
FIX: Message
1 parent bc8824c commit da668c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: pandas/tests/io/excel/test_writers.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1390,7 +1390,7 @@ def test_to_excel_empty_frame(self, engine, tmp_excel):
13901390
def test_to_excel_raising_warning_when_cell_character_exceed_limit(self):
13911391
# GH#56954
13921392
df = DataFrame({"A": ["a" * 32768]})
1393-
msg = "Cell contents too long, truncated to 32767 characters"
1393+
msg = r"Cell contents too long \(32768\), truncated to 32767 characters"
13941394
with tm.assert_produces_warning(
13951395
UserWarning, match=msg, raise_on_extra_warnings=False
13961396
):

0 commit comments

Comments
 (0)