diff --git a/pandas/tests/io/test_excel.py b/pandas/tests/io/test_excel.py index 6735d69b47fac..7c07f881a29f5 100644 --- a/pandas/tests/io/test_excel.py +++ b/pandas/tests/io/test_excel.py @@ -2009,7 +2009,7 @@ def test_to_excel_styleconverter(self): self.assertEqual(kw['protection'], protection) def test_write_cells_merge_styled(self): - from pandas.formats.format import ExcelCell + from pandas.formats.excel import ExcelCell from openpyxl import styles sheet_name = 'merge_styled'