Skip to content

Commit a4ea3fd

Browse files
committed
remove snakecase function names in test functions
1 parent 4538002 commit a4ea3fd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

skglm/tests/test_covariance.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from skglm.utils.data import make_dummy_covariance_data
88

99

10-
def test_GraphicalLasso_equivalence_sklearn():
10+
def test_glasso_equivalence_sklearn():
1111
S, _, lmbd_max = make_dummy_covariance_data(200, 50)
1212
alpha = lmbd_max / 5
1313

@@ -33,7 +33,7 @@ def test_GraphicalLasso_equivalence_sklearn():
3333
np.testing.assert_array_less(S.shape[0] + 1, (model.precision_ != 0).sum())
3434

3535

36-
def test_GraphicalLasso_warm_start():
36+
def test_glasso_warm_start():
3737
S, _, lmbd_max = make_dummy_covariance_data(200, 50)
3838

3939
alpha = lmbd_max / 5
@@ -55,7 +55,7 @@ def test_GraphicalLasso_warm_start():
5555
model.fit(S)
5656

5757

58-
def test_GraphicalLasso_weights():
58+
def test_glasso_weights():
5959
S, _, lmbd_max = make_dummy_covariance_data(200, 50)
6060

6161
alpha = lmbd_max / 10
@@ -84,7 +84,7 @@ def test_GraphicalLasso_weights():
8484
np.testing.assert_array_less(1e-4, np.abs(model.precision_[~mask]))
8585

8686

87-
def test_GraphicalLasso_adaptive():
87+
def test_glasso_adaptive():
8888
S, _, lmbd_max = make_dummy_covariance_data(200, 50)
8989

9090
alpha = lmbd_max / 10

0 commit comments

Comments
 (0)