Skip to content

Commit add3e23

Browse files
committed
solve errors
1 parent 3df0283 commit add3e23

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
@@ -857,8 +857,7 @@ def test_ptp(self):
857857
N = 1000
858858
arr = np.random.randn(N)
859859
ser = Series(arr)
860-
with tm.assert_produces_warning(FutureWarning, check_stacklevel=False):
861-
assert np.ptp(ser) == np.ptp(arr)
860+
assert np.ptp(ser) == np.ptp(arr)
862861

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

0 commit comments

Comments
 (0)