Skip to content

Commit 426233f

Browse files
committed
Fix some of the marks
1 parent d7b796c commit 426233f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

pandas/tests/io/excel/test_writers.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -1596,7 +1596,7 @@ def test_path_path_lib(self, request, engine, ext):
15961596
request.node.add_marker(
15971597
pytest.mark.xfail(
15981598
openpyxl_installed_and_xlsx_xlsm(ext)
1599-
and not xlswriter_and_xlsx(path, request.getfixturevalue("engine")),
1599+
and not xlswriter_and_xlsx(ext, request.getfixturevalue("engine")),
16001600
reason="Fails on the min version build",
16011601
raises=TypeError,
16021602
)
@@ -1612,7 +1612,7 @@ def test_path_local_path(self, request, engine, ext):
16121612
request.node.add_marker(
16131613
pytest.mark.xfail(
16141614
openpyxl_installed_and_xlsx_xlsm(ext)
1615-
and not xlswriter_and_xlsx(path, request.getfixturevalue("engine")),
1615+
and not xlswriter_and_xlsx(ext, request.getfixturevalue("engine")),
16161616
reason="Fails on the min version build",
16171617
raises=TypeError,
16181618
)
@@ -1689,7 +1689,8 @@ def test_excel_duplicate_columns_with_names(self, request, path):
16891689
# GH#39695
16901690
request.node.add_marker(
16911691
pytest.mark.xfail(
1692-
openpyxl_installed_and_xlsx_xlsm(path),
1692+
openpyxl_installed_and_xlsx_xlsm(path)
1693+
and not xlswriter_and_xlsx(path, request.getfixturevalue("engine")),
16931694
reason="Fails on the min version build",
16941695
raises=TypeError,
16951696
)

0 commit comments

Comments
 (0)