Skip to content

Commit a594649

Browse files
Black fixes
1 parent e2e0e70 commit a594649

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

doc/source/whatsnew/v1.1.0.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -818,8 +818,6 @@ Deprecations
818818
``check_less_precise`` parameter. (:issue:`13357`).
819819
-:func:`read_excel` engine argument "xlrd" will no longer be the default engine and
820820
will be replaced by "openpyxl" in a future version (:issue:`28547`).
821-
- :func:`read_excel` engine argument "xlrd" will no longer be the default engine and
822-
will be replaced by "openpyxl" in a future version (:issue:`28547`).
823821

824822
.. ---------------------------------------------------------------------------
825823

pandas/tests/io/excel/test_xlrd.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,12 @@ def test_excel_file_warning_with_default_engine(datapath):
5151
path = datapath("io", "data", "excel", "test1.xls")
5252
with warnings.catch_warnings(record=True) as w:
5353
pd.ExcelFile(path)
54-
assert "default to \"openpyxl\" in the future." in str(w[-1].message)
54+
assert 'default to "openpyxl" in the future.' in str(w[-1].message)
5555

5656

5757
# See issue #29375
5858
def test_read_excel_warning_with_default_engine(tmpdir, datapath):
5959
path = datapath("io", "data", "excel", "test1.xls")
6060
with warnings.catch_warnings(record=True) as w:
6161
pd.read_excel(path, "Sheet1")
62-
assert "default to \"openpyxl\" in the future." in str(w[-1].message)
62+
assert 'default to "openpyxl" in the future.' in str(w[-1].message)

0 commit comments

Comments
 (0)