TEST: metrics sample_weight test: almost_equal

The test was too strict and failing on certain boxes