Skip to content

Commit

Permalink
SNOW-1478684: Add equals test for the bug
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-nkumar committed Jul 24, 2024
1 parent 3bec724 commit ce87759
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/integ/modin/index/test_equals.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,10 @@ def test_index_lazy_with_non_lazy():
index2 = pd.Index([1, 2], convert_to_lazy=False)
assert index1.equals(index2)
assert index2.equals(index1)


@sql_count_checker(query_count=0)
def test_index_columns_self_compare():
# Bug SNOW-1478684
df = pd.DataFrame([1])
assert df.columns.equals(df.columns)

0 comments on commit ce87759

Please sign in to comment.