Skip to content

Commit 5ba0dbb

Browse files
authored
FIX: modify regex in pipeline testing to be more permissive (#515)
1 parent 2b298dd commit 5ba0dbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

imblearn/tests/test_pipeline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,7 @@ def test_pipeline_wrong_memory():
608608
cached_pipe = Pipeline(
609609
[('transf', DummyTransf()), ('svc', SVC(gamma='scale'))],
610610
memory=memory)
611-
error_regex = ("string or have the same interface as sklearn.utils.Memory")
611+
error_regex = ("string or have the same interface as")
612612
with raises(ValueError, match=error_regex):
613613
cached_pipe.fit(X, y)
614614

0 commit comments

Comments
 (0)