Skip to content

Commit 0610de5

Browse files
committed
Revert "use numpy.array_equal instead of =="
This reverts commit 86c11c9.
1 parent c9ee01a commit 0610de5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pandas/tests/series/test_analytics.py

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

865864
def test_repeat(self):
866865
s = Series(np.random.randn(3), index=["a", "b", "c"])

0 commit comments

Comments
 (0)