Skip to content

Commit ae5b385

Browse files
committed
use assert_frame_equal instead of result.equals
1 parent 71104f6 commit ae5b385

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/io/excel/test_openpyxl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def test_if_sheet_exists_append_modes(ext, if_sheet_exists, num_sheets, expected
140140
# atm the name given for the second sheet will be "foo1"
141141
# but we don't want the test to fail if openpyxl changes this
142142
result = pd.read_excel(wb, wb.sheetnames[1], engine="openpyxl")
143-
assert result.equals(df2)
143+
tm.assert_frame_equal(result, df2)
144144
wb.close()
145145

146146

0 commit comments

Comments
 (0)