File tree 2 files changed +2
-4
lines changed
2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -818,8 +818,6 @@ Deprecations
818
818
``check_less_precise `` parameter. (:issue: `13357 `).
819
819
-:func: `read_excel ` engine argument "xlrd" will no longer be the default engine and
820
820
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 `).
823
821
824
822
.. ---------------------------------------------------------------------------
825
823
Original file line number Diff line number Diff line change @@ -51,12 +51,12 @@ def test_excel_file_warning_with_default_engine(datapath):
51
51
path = datapath ("io" , "data" , "excel" , "test1.xls" )
52
52
with warnings .catch_warnings (record = True ) as w :
53
53
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 )
55
55
56
56
57
57
# See issue #29375
58
58
def test_read_excel_warning_with_default_engine (tmpdir , datapath ):
59
59
path = datapath ("io" , "data" , "excel" , "test1.xls" )
60
60
with warnings .catch_warnings (record = True ) as w :
61
61
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 )
You can’t perform that action at this time.
0 commit comments