Skip to content

Commit 4426c0b

Browse files
committed
TST: Remove cloneable test for multi-shell kernel
Cloning is primarily intended for classes that are meant to be estimators (i.e. inheriting from `BaseEstimator`).
1 parent 63b8b49 commit 4426c0b

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

test/test_model_gpr.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
import numpy as np
2727
import pytest
2828
from dipy.io import read_bvals_bvecs
29-
from sklearn.base import clone
3029

3130
from nifreeze.model import gpr
3231

@@ -589,12 +588,6 @@ def test_multishellkernel_nonpositive_bval(bad_bval, match):
589588
k(X)
590589

591590

592-
def test_multishellkernel_cloneable():
593-
k = gpr.MultiShellKernel()
594-
k2 = clone(k)
595-
assert isinstance(k2, gpr.MultiShellKernel)
596-
597-
598591
@pytest.mark.parametrize("n_samples", [8])
599592
def test_multishellkernel_gp(n_samples):
600593
"""Smoke test: DiffusionGPR can fit/predict with MultiShellKernel."""

0 commit comments

Comments
 (0)