Skip to content

Commit d8b649e

Browse files
committed
Revert "solve errors"
This reverts commit add3e23.
1 parent f1e82ab commit d8b649e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/tests/series/test_analytics.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -857,7 +857,8 @@ def test_ptp(self):
857857
N = 1000
858858
arr = np.random.randn(N)
859859
ser = Series(arr)
860-
assert np.ptp(ser) == np.ptp(arr)
860+
with tm.assert_produces_warning(FutureWarning, check_stacklevel=False):
861+
assert np.ptp(ser) == np.ptp(arr)
861862

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

0 commit comments

Comments
 (0)