From afd9418693ff88d9adf4eb222c2884167d3db9c9 Mon Sep 17 00:00:00 2001 From: Marco Gorelli <33491632+MarcoGorelli@users.noreply.github.com> Date: Tue, 19 Nov 2024 10:12:39 +0000 Subject: [PATCH] chore: Address pandas deprecation warning in test --- .../plotly/plotly/tests/test_optional/test_utils/test_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/python/plotly/plotly/tests/test_optional/test_utils/test_utils.py b/packages/python/plotly/plotly/tests/test_optional/test_utils/test_utils.py index c3b117e265..52695c679a 100644 --- a/packages/python/plotly/plotly/tests/test_optional/test_utils/test_utils.py +++ b/packages/python/plotly/plotly/tests/test_optional/test_utils/test_utils.py @@ -95,7 +95,7 @@ def np_inf(): columns=["col 1"], data=[1, 2, 3, dt(2014, 1, 5), pd.NaT, np_nan(), np_inf()] ) -rng = pd.date_range("1/1/2011", periods=2, freq="H") +rng = pd.date_range("1/1/2011", periods=2, freq="h") ts = pd.Series([1.5, 2.5], index=rng)