We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5185aa commit 3c08bbfCopy full SHA for 3c08bbf
pandas/tests/io/test_fsspec.py
@@ -126,6 +126,11 @@ def test_csv_options(fsspectest):
126
127
@pytest.mark.parametrize("extension", ["xlsx", "xls"])
128
def test_excel_options(fsspectest, extension):
129
+ if extension == "xls":
130
+ pytest.importorskip("xlwt")
131
+ else:
132
+ pytest.importorskip("openpyxl")
133
+
134
df = DataFrame({"a": [0]})
135
136
path = f"testmem://test/test.{extension}"
0 commit comments