8000 REG: read_excel with engine specified raises on non-path/non-buffer by rhshadrach · Pull Request #39586 · pandas-dev/pandas · GitHub
[go: up one dir, main page]

Skip to content

REG: read_excel with engine specified raises on non-path/non-buffer #39586

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Feb 7, 2021
Prev Previous commit
fixup
  • Loading branch information
rhshadrach committed Feb 6, 2021
commit 224d2a18aa87d6551b9f4a9201a713d1f77eafcc
4 changes: 1 addition & 3 deletions pandas/tests/io/excel/test_openpyxl.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,7 @@ def test_read_with_bad_dimension(
version = LooseVersion(get_version(openpyxl))
if (read_only or read_only is None) and version < "3.0.0":
msg = "openpyxl read-only sheet is incorrect when dimension data is wrong"
request.node.add_marker(
pytest.mark.xfail(LooseVersion(get_version(openpyxl)) < "3.0.0", reason=msg)
)
request.node.add_marker(pytest.mark.xfail(reason=msg))
path = datapath("io", "data", "excel", f"{filename}{ext}")
if read_only is None:
result = pd.read_excel(path, header=header)
Expand Down
0