Skip to content

Commit d468588

Browse files
committed
change test to use tm.assert_frame_equal
1 parent a08502d commit d468588

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pandas/tests/io/test_clipboard.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,8 +254,7 @@ def test_infer_excel_with_nulls(self, request, mock_clipboard):
254254
)
255255

256256
# excel data is parsed correctly
257-
assert df.iloc[1][1] == "blue"
258-
assert df.equals(df_expected)
257+
tm.assert_frame_equal(df, df_expected)
259258

260259
def test_invalid_encoding(self, df):
261260
msg = "clipboard only supports utf-8 encoding"

0 commit comments

Comments
 (0)