Skip to content

Commit 02385e4

Browse files
committed
add assertion for columns not changed
1 parent e932924 commit 02385e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/system/small/test_dataframe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2958,7 +2958,7 @@ def test_join_different_table_with_duplicate_column_name(
29582958

29592959
# Ensure no inplace changes
29602960
pd.testing.assert_index_equal(bf_df_a.columns, pd_df_a.columns)
2961-
pd.testing.assert_index_equal(bf_df_b.columns, pd_df_b.columns)
2961+
pd.testing.assert_index_equal(bf_df_b.index.to_pandas(), pd_df_b.index)
29622962
pd.testing.assert_frame_equal(bf_result, pd_result, check_index_type=False)
29632963

29642964

0 commit comments

Comments
 (0)