Skip to content

Commit 5d8d35f

Browse files
committed
use numpy.array_equal instead of ==
1 parent 86c11c9 commit 5d8d35f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pandas/tests/series/test_analytics.py

-1
Original file line numberDiff line numberDiff line change
@@ -859,7 +859,6 @@ def test_ptp(self):
859859
ser = Series(arr)
860860
ptp_np = np.ptp(arr)
861861
ptp_pd = np.ptp(ser)
862-
863862
assert np.array_equal(ptp_pd, ptp_np)
864863

865864
def test_repeat(self):

0 commit comments

Comments
 (0)