Skip to content

Commit e1664c7

Browse files
author
William de Vazelhes
committed
Remove unnecessary changes
1 parent 49f3b9e commit e1664c7

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

test/test_base_metric.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import numpy as np
55
from sklearn import clone
66
from sklearn.utils.testing import set_random_state
7-
87
from test.test_utils import ids_metric_learners, metric_learners
98

109

@@ -56,8 +55,7 @@ def test_lsml(self):
5655
def test_sdml(self):
5756
self.assertEqual(str(metric_learn.SDML()),
5857
"SDML(balance_param=0.5, preprocessor=None, "
59-
"sparsity_param=0.01, use_cov=True,\n "
60-
"verbose=False)")
58+
"sparsity_param=0.01, use_cov=True,\n verbose=False)")
6159
self.assertEqual(str(metric_learn.SDML_Supervised()), """
6260
SDML_Supervised(balance_param=0.5, num_constraints=None,
6361
num_labeled='deprecated', preprocessor=None, sparsity_param=0.01,

test/test_sklearn_compat.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
from sklearn.model_selection import (cross_val_score, cross_val_predict,
1717
train_test_split, KFold)
1818
from sklearn.utils.testing import _get_args
19-
2019
from test.test_utils import (metric_learners, ids_metric_learners,
2120
mock_preprocessor)
2221

0 commit comments

Comments
 (0)