We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea5b640 commit 4551c5aCopy full SHA for 4551c5a
src/test_pownet/test_stochastic/test_timeseries_model.py
@@ -4,6 +4,13 @@
4
import pandas as pd
5
from pownet.stochastic import timeseries_model
6
7
+# Skip this test if the user has not installed pmdarima package
8
+try:
9
+ import pmdarima
10
+except ImportError:
11
+ pmdarima = None
12
+ raise unittest.SkipTest("pmdarima is not installed, skipping tests.")
13
+
14
15
class ConcreteTimeSeriesModel(timeseries_model.TimeSeriesModel):
16
"""A concrete implementation for testing the abstract base class."""
0 commit comments