Skip to content

Commit a37e52e

Browse files
committed
Removed unused variable declaration
1 parent ab65f86 commit a37e52e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/test_ot.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,17 +140,17 @@ def test_warnings():
140140
with warnings.catch_warnings(record=True) as w:
141141
warnings.simplefilter("always")
142142
print('Computing {} EMD '.format(1))
143-
G = ot.emd(a, b, M, numItermax=1)
143+
ot.emd(a, b, M, numItermax=1)
144144
assert "numItermax" in str(w[-1].message)
145145
assert len(w) == 1
146146
a[0] = 100
147147
print('Computing {} EMD '.format(2))
148-
G = ot.emd(a, b, M)
148+
ot.emd(a, b, M)
149149
assert "infeasible" in str(w[-1].message)
150150
assert len(w) == 2
151151
a[0] = -1
152152
print('Computing {} EMD '.format(2))
153-
G = ot.emd(a, b, M)
153+
ot.emd(a, b, M)
154154
assert "infeasible" in str(w[-1].message)
155155
assert len(w) == 3
156156

0 commit comments

Comments
 (0)