Skip to content

Commit 543f163

Browse files
author
Jon Wayne Parrott
committed
Tests can assume presence of pandas
1 parent 9145e47 commit 543f163

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

monitoring/tests/unit/test__dataframe.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
try:
16-
import pandas
17-
except ImportError:
18-
HAVE_PANDAS = False
19-
else:
20-
HAVE_PANDAS = True # pragma: NO COVER
21-
15+
import pandas
2216
import unittest
2317

2418

@@ -81,7 +75,6 @@ def P(timestamp, value):
8175
)
8276

8377

84-
@unittest.skipUnless(HAVE_PANDAS, 'No pandas')
8578
class Test__build_dataframe(unittest.TestCase):
8679

8780
def _call_fut(self, *args, **kwargs):

0 commit comments

Comments
 (0)