Skip to content

Commit

Permalink
address comment
Browse files Browse the repository at this point in the history
  • Loading branch information
lostella committed May 27, 2024
1 parent fcdaf04 commit fb1049f
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions test/ext/r_forecast/test_r_univariate_predictor.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,20 +36,7 @@
TOLERANCE = 1e-6


@pytest.mark.parametrize(
"method_name",
[
(
method_name
if method_name != "fourier.arima.xreg"
else pytest.param(
"fourier.arima.xreg",
marks=pytest.mark.xfail(reason="Known bug"),
)
)
for method_name in SUPPORTED_UNIVARIATE_METHODS
],
)
@pytest.mark.parametrize("method_name", SUPPORTED_UNIVARIATE_METHODS)
def test_forecasts(method_name):
if method_name == "mlp":
# https://stackoverflow.com/questions/56254321/error-in-ifncol-matrix-rep-argument-is-of-length-zero
Expand All @@ -61,6 +48,10 @@ def test_forecasts(method_name):
"MLP currently does not work because "
"the `neuralnet` package is not yet updated with a known bug fix in ` bips-hb/neuralnet`"
)
if method_name == "fourier.arima.xreg":
pytest.xfail(
"Method `fourier.arima.xreg` does not work because of a known issue."
)

dataset = datasets.get_dataset("constant")

Expand Down

0 comments on commit fb1049f

Please sign in to comment.