scikit-learn-contrib/scikit-matter

Work of test_kpcovr.py

hurricane642 opened this issue · 1 comments

Good afternoon! When running the tests, I found a strange behavior. Rarely enough (1 run out of 10-20) test_kpcovr.py gives an error:
Traceback (most recent call last):
File "/home/runner/work/scikit-cosmo/scikit-cosmo/tests/test_kpcovr.py", line 248, in test_linear_matches_pcovr
self.assertEqual(
AssertionError: 0.75 != 0.751

We probably need to put a large tolerance to difference there.

Addressed in #104