From 9b33340187893e978b43d65bbcf3a779d21e78a3 Mon Sep 17 00:00:00 2001 From: Brian Crant <17074379+bcrant@users.noreply.github.com> Date: Mon, 5 Sep 2022 08:54:55 -0700 Subject: [PATCH] Marshal deprecated pandas.util.testing import. --- influxdb/tests/dataframe_client_test.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/influxdb/tests/dataframe_client_test.py b/influxdb/tests/dataframe_client_test.py index f6db3c22..313891b0 100644 --- a/influxdb/tests/dataframe_client_test.py +++ b/influxdb/tests/dataframe_client_test.py @@ -20,7 +20,10 @@ if not using_pypy: import pandas as pd - from pandas.util.testing import assert_frame_equal + try: + from pandas.testing import assert_frame_equal + except ImportError: + from pandas.util.testing import assert_frame_equal from influxdb import DataFrameClient import numpy as np