def _inverse_tester(norm_instance, vals):
 assert_array_almost_equal(norm_instance.inverse(norm_instance(vals)), vals)

def _inverse_tester ( norm_instance , vals ) : assert_array_almost_equal ( norm_instance . inverse ( norm_instance ( vals ) ) , vals )
checks if the inverse of the given normalization is working .