Test failure in scikits/crab/recommenders/svd/tests/test_classes.py
tkamishima opened this issue · comments
Toshihiro Kamishima commented
Test fails due to the order of elements in a array in line 214, maybe because scores of those recommended items are equal. This issue can be fixed by sorting before comparison:
@@ -213,3 +213,3 @@
assert_array_equal(np.array(['Just My Luck', 'You, Me and Dupree']), \
- recsys.recommend('Leopoldo Pires'))
+ np.sort(recsys.recommend('Leopoldo Pires')))
However, the test fails also in line 222 because of the same reason as above. I have no idea to fix this issue.