Skip to content

Commit 70fb5c4

Browse files
committed
remove pandas.util.testing import
1 parent 319a106 commit 70fb5c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pvlib/tracking.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
import numpy as np
77
import pandas as pd
8-
from pandas.util.testing import assert_index_equal
98

109
from pvlib.tools import cosd, sind
1110

@@ -122,7 +121,8 @@ def singleaxis(apparent_zenith, apparent_azimuth,
122121
# to calculate sun position.
123122

124123
try:
125-
assert_index_equal(apparent_azimuth.index, apparent_zenith.index)
124+
pd.util.testing.assert_index_equal(apparent_azimuth.index,
125+
apparent_zenith.index)
126126
except AssertionError:
127127
raise ValueError('apparent_azimuth.index and ' +
128128
'apparent_zenith.index must match.')

0 commit comments

Comments
 (0)