Skip to content

Commit 6f94b69

Browse files
committed
Add test for read_excel engine
1 parent e8850b5 commit 6f94b69

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ SQLAlchemy = ">=2.0.12"
6464
types-python-dateutil = ">=2.8.19"
6565
beautifulsoup4 = ">=4.12.2"
6666
html5lib = ">=1.1"
67+
python-calamine = "0.2.0"
6768

6869
[build-system]
6970
requires = ["poetry-core>=1.0.0"]

tests/test_io.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -961,6 +961,16 @@ def test_read_excel() -> None:
961961
),
962962
pd.DataFrame,
963963
)
964+
check(
965+
assert_type(
966+
pd.read_excel(
967+
path,
968+
engine="calamine",
969+
),
970+
pd.DataFrame,
971+
),
972+
pd.DataFrame,
973+
)
964974
if TYPE_CHECKING_INVALID_USAGE:
965975
pd.read_excel(path, names="abcd") # type: ignore[call-overload] # pyright: ignore[reportArgumentType]
966976

0 commit comments

Comments
 (0)