Skip to content

Commit 6d1313c

Browse files
authored
fix(tests): compatibility with Pandas 1.5 (influxdata#503)
1 parent f0a36a0 commit 6d1313c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_WriteApiDataFrame.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ def test_with_period_index(self):
313313
data_frame = pd.DataFrame(data={
314314
'value': [1, 2],
315315
},
316-
index=pd.period_range(start='2020-04-05 01:00+00:00', freq='H', periods=2))
316+
index=pd.period_range(start='2020-04-05 01:00', freq='H', periods=2))
317317

318318
points = data_frame_to_list_of_points(data_frame=data_frame,
319319
point_settings=PointSettings(),

0 commit comments

Comments
 (0)