diff options
author | Antoine Rolet <antoine.rolet@gmail.com> | 2017-09-09 18:05:12 +0900 |
---|---|---|
committer | Antoine Rolet <antoine.rolet@gmail.com> | 2017-09-09 18:05:12 +0900 |
commit | 8cc04ef5ae8806c81811b2081b1880b46ca063a3 (patch) | |
tree | 1b838447cc441e9a9b27039f944002336c8910da /test/test_ot.py | |
parent | cd8c04246b6d1f15b68d6433741e8c808fd517d8 (diff) |
Renamed variable in string
Diffstat (limited to 'test/test_ot.py')
-rw-r--r-- | test/test_ot.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_ot.py b/test/test_ot.py index ca921c5..46fc634 100644 --- a/test/test_ot.py +++ b/test/test_ot.py @@ -141,7 +141,7 @@ def test_warnings(): warnings.simplefilter("always") print('Computing {} EMD '.format(1)) ot.emd(a, b, M, max_iter=1) - assert "numItermax" in str(w[-1].message) + assert "max_iter" in str(w[-1].message) assert len(w) == 1 a[0] = 100 print('Computing {} EMD '.format(2)) |