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 955f5bf commit 7a9e39dCopy full SHA for 7a9e39d
aeon/anomaly_detection/whole_series/tests/test_rockad.py
@@ -59,8 +59,10 @@ def test_rockad_incorrect_input():
59
60
with pytest.raises(
61
ValueError,
62
- match="""Expected n_neighbors <= n_samples_fit, but n_neighbors = 100,
63
- n_samples_fit = 10, n_samples = 3""",
+ match=(
+ r"Expected n_neighbors <= n_samples_fit, but n_neighbors = 100, "
64
+ r"n_samples_fit = 10, n_samples = 3"
65
+ ),
66
):
67
ad = ROCKAD(n_estimators=100, n_kernels=10, n_neighbors=100)
68
ad.fit(train_series)
0 commit comments