mariusmuja/flann — Issue #30: `make test` results in AssertionError at test_clustering.py, line 90 
Author: shackenberg
Created: 2012-02-09 09:14:31+00:00
State: open

Can anyone reproduce this error? I tried it on two different Ubuntu installations (both Ubuntu 10.10).

I am using version: cc0c0619c0f1dd3024c04cece72a013e28ee0f03

```bash
~/flann/build$ make test
[ 7%] Built target flann_s
[ 7%] Built target flann
Scanning dependencies of target pyunit_test_clustering.py
[ 7%] Running pyunit test(s) test_clustering.py
Clusters requested: 2, returning 2
Clusters requested: 2, returning 2
Clusters requested: 2, returning 2
.Clusters requested: 2, returning 2
Clusters requested: 2, returning 2
Clusters requested: 2, returning 2
.Clusters requested: 3, returning 3
Clusters requested: 3, returning 3
Clusters requested: 3, returning 3
.Clusters requested: 3, returning 3
Clusters requested: 3, returning 3
Clusters requested: 3, returning 3
.Clusters requested: 4, returning 4
Clusters requested: 4, returning 4
Clusters requested: 4, returning 4
.Clusters requested: 2, returning 2
Clusters requested: 2, returning 2
Clusters requested: 2, returning 2
.Clusters requested: 10, returning 10
.Clusters requested: 50, returning 50
Clusters requested: 50, returning 50
FClusters requested: 50, returning 50
Clusters requested: 50, returning 50
.
======================================================================
FAIL: testrandnumber_different (__main__.Test_PyFLANN_clustering)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/me/flann/test/test_clustering.py", line 90, in testrandnumber_different
self.assert_(any(cl1 != cl2))
AssertionError

----------------------------------------------------------------------
Ran 9 tests in 0.236s

FAILED (failures=1)
make[3]: *** [test/CMakeFiles/pyunit_test_clustering.py] Error 1
make[2]: *** [test/CMakeFiles/pyunit_test_clustering.py.dir/all] Error 2
make[1]: *** [test/CMakeFiles/test.dir/rule] Error 2
make: *** [test] Error 2
```