(nitpick) In sklearn.utils.testing, there assert_equal and assert_less that you can use.