mirror of
https://github.com/apache/superset.git
synced 2026-04-18 23:55:00 +00:00
fix: Bump prophet, re-enable tests, and remedy column eligibility logic (#24129)
This commit is contained in:
@@ -27,8 +27,6 @@ from tests.unit_tests.fixtures.dataframes import prophet_df
|
||||
|
||||
|
||||
def test_prophet_valid():
|
||||
pytest.importorskip("prophet")
|
||||
|
||||
df = prophet(df=prophet_df, time_grain="P1M", periods=3, confidence_interval=0.9)
|
||||
columns = {column for column in df.columns}
|
||||
assert columns == {
|
||||
@@ -113,8 +111,6 @@ def test_prophet_valid():
|
||||
|
||||
|
||||
def test_prophet_valid_zero_periods():
|
||||
pytest.importorskip("prophet")
|
||||
|
||||
df = prophet(df=prophet_df, time_grain="P1M", periods=0, confidence_interval=0.9)
|
||||
columns = {column for column in df.columns}
|
||||
assert columns == {
|
||||
|
||||
Reference in New Issue
Block a user