Skip to content

Commit 0bc2f1e

Browse files
TST: GH20676 Verify equals operator for list of Numpy arrays
1 parent 37662ea commit 0bc2f1e

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import numpy as np
2+
import pytest
3+
4+
from pandas import Series
5+
6+
7+
@pytest.mark.parametrize(
8+
"input_data", [[np.array([1, 2]), np.array([1, 2])]],
9+
)
10+
def test_equals_list_array(input_data):
11+
# GH20676 Verify equals operator for list of Numpy arrays
12+
ser = Series(input_data)
13+
assert ser.equals(ser)

0 commit comments

Comments
 (0)