def test_angle_to_2pi_range(angle, expected): assert np.isclose(angle_to_2pi_range(angle), expected)
def wrapped_function(keypoint, *args, **kwargs): (x, y, a, s) = func(keypoint, *args, **kwargs) return (x, y, angle_to_2pi_range(a), s)