Skip to content

Commit 4de4f54

Browse files
author
ncassereau
committed
pep8
1 parent 2b12917 commit 4de4f54

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,15 +118,15 @@ def test_dist():
118118
np.testing.assert_allclose(D, D3, atol=1e-14)
119119

120120
# tests that every metric runs correctly
121-
metrics_w = [
121+
metrics_w = [
122122
'braycurtis', 'canberra', 'chebyshev', 'cityblock', 'correlation', 'cosine', 'dice',
123123
'euclidean', 'hamming', 'jaccard', 'kulsinski',
124124
'matching', 'minkowski', 'rogerstanimoto', 'russellrao',
125125
'sokalmichener', 'sokalsneath', 'sqeuclidean', 'wminkowski', 'yule'
126126
] # those that support weights
127127
metrics = ['mahalanobis', 'seuclidean'] # do not support weights depending on scipy's version
128128

129-
for metric in metrics_w:
129+
for metric in metrics_w:
130130
print(metric)
131131
ot.dist(x, x, metric=metric, p=3, w=np.random.random((2, )))
132132
for metric in metrics:

0 commit comments

Comments
 (0)