diff options
author | Antoine Rolet <antoine.rolet@gmail.com> | 2017-09-07 14:38:53 +0900 |
---|---|---|
committer | Antoine Rolet <antoine.rolet@gmail.com> | 2017-09-07 14:38:53 +0900 |
commit | a37e52e64f300fa0165a58932d5ac0ef1dd8c6f7 (patch) | |
tree | 5e14f6e4ee088449ff1e135559d631b61e6c59b2 /test/test_ot.py | |
parent | ab65f86304b03a967054eeeaf73b8c8277618d65 (diff) |
Removed unused variable declaration
Diffstat (limited to 'test/test_ot.py')
-rw-r--r-- | test/test_ot.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_ot.py b/test/test_ot.py index feadef4..cf5839e 100644 --- a/test/test_ot.py +++ b/test/test_ot.py @@ -140,17 +140,17 @@ def test_warnings(): with warnings.catch_warnings(record=True) as w: warnings.simplefilter("always") print('Computing {} EMD '.format(1)) - G = ot.emd(a, b, M, numItermax=1) + ot.emd(a, b, M, numItermax=1) assert "numItermax" in str(w[-1].message) assert len(w) == 1 a[0] = 100 print('Computing {} EMD '.format(2)) - G = ot.emd(a, b, M) + ot.emd(a, b, M) assert "infeasible" in str(w[-1].message) assert len(w) == 2 a[0] = -1 print('Computing {} EMD '.format(2)) - G = ot.emd(a, b, M) + ot.emd(a, b, M) assert "infeasible" in str(w[-1].message) assert len(w) == 3 |