Skip to content

Commit 9669d7d

Browse files
committed
Require jinja in test with df.style
1 parent 14035c5 commit 9669d7d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pandas/tests/io/test_excel.py

+1
Original file line numberDiff line numberDiff line change
@@ -2152,6 +2152,7 @@ def test_write_cells_merge_styled(self):
21522152
self.assertEqual(xcell_a2.font, openpyxl_sty_merged)
21532153

21542154
def test_styler_to_excel(self):
2155+
pytest.importorskip('jinja2')
21552156
if not openpyxl_compat.is_compat(major_ver=2):
21562157
pytest.skip('incompatible openpyxl version')
21572158

0 commit comments

Comments
 (0)