File: pandas2.2.patch

package info (click to toggle)
influxdb-python 5.3.2-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,576 kB
  • sloc: python: 7,274; makefile: 5
file content (17 lines) | stat: -rw-r--r-- 706 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Avoid test-failing warning in pandas 2.2

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug-Debian: https://bugs.debian.org/1071123
Forwarded: no, project is archived

--- a/influxdb/tests/dataframe_client_test.py
+++ b/influxdb/tests/dataframe_client_test.py
@@ -335,7 +335,7 @@ class TestDataFrameClient(unittest.TestC
                 ['some', "2", 2, None],               # skip None
                 ['', "2", 2, None],                   # all tags empty
             ],
-            index=pd.period_range(now, freq='H', periods=5),
+            index=pd.period_range(now, freq='h', periods=5),
             columns=["tag_one", "column_one", "column_two", "tag_three"]
         )