summaryrefslogtreecommitdiff
path: root/src/python/test/test_dtm.py
diff options
context:
space:
mode:
authorHind-M <hind.montassif@gmail.com>2021-11-15 16:26:35 +0100
committerHind-M <hind.montassif@gmail.com>2021-11-15 16:26:35 +0100
commit6c2c1f60b40e4085519de2316198c8e1e14bf49d (patch)
tree3fba3baae0b4c32e0ad971d3cc9b5d8308a5a093 /src/python/test/test_dtm.py
parent4e4a300ac9d914fa1350ca9b920ec2cc09bfd244 (diff)
Remove irrelevant q in test_dtm_overflow_warnings
Diffstat (limited to 'src/python/test/test_dtm.py')
-rwxr-xr-xsrc/python/test/test_dtm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/test/test_dtm.py b/src/python/test/test_dtm.py
index 09876496..e46d616c 100755
--- a/src/python/test/test_dtm.py
+++ b/src/python/test/test_dtm.py
@@ -94,7 +94,7 @@ def test_dtm_overflow_warnings():
with warnings.catch_warnings(record=True) as w:
# TODO Test "keops" implementation as well when next version of pykeops (current is 1.5) is released (should fix the problem (cf. issue #543))
- dtm = DistanceToMeasure(2, q=10000, implementation="hnsw")
+ dtm = DistanceToMeasure(2, implementation="hnsw")
r = dtm.fit_transform(pts)
assert len(w) == 1
assert issubclass(w[0].category, RuntimeWarning)