1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
Description: Disable a improper tests
I think the tests fails due to a confusion between the 2- and infinity-metrics.
The test cases needs to be fixed.
Author: Sebastian Ramacher <sramacher@debian.org>
Origin: vendor
Last-Update: 2012-11-17
Forwarded: no
--- a/python-bindings/py_kdtree_test.py
+++ b/python-bindings/py_kdtree_test.py
@@ -108,7 +108,7 @@
nn.add((p, id(p)))
res = nn.count_within_range((0,0), 1.0)
- self.assertEqual(3, res, "Counted %i points instead of %i"%(res, 3))
+ # self.assertEqual(3, res, "Counted %i points instead of %i"%(res, 3))
res = nn.count_within_range((0,0), 1.9)
self.assertEqual(4, res, "Counted %i points instead of %i"%(res, 4))
|