summaryrefslogtreecommitdiff
path: root/test/test_ot.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_ot.py')
-rw-r--r--test/test_ot.py2
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))