Skip to content

Commit 26c4ca2

Browse files
committed
Testing: workaround for changes in Pandas 2.0
1 parent 7c1d16e commit 26c4ca2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/test_opendssdirect.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22
import pytest as pt
33
import os
44
import pandas as pd
5-
from pandas.util.testing import assert_dict_equal
5+
try:
6+
from pandas._testing import assert_dict_equal #TODO: migrate to something else, this is bad
7+
except:
8+
from pandas.util.testing import assert_dict_equal
9+
610
import numpy as np
711

812
current_directory = os.path.dirname(os.path.realpath(__file__))

0 commit comments

Comments
 (0)