def METHOD_NAME(self):
    # If all weight values are None, ignore the weights altogether
    curves = [
        [1.0, 0.85, 0.67, 0.3],
        [0.87, 0.76, 0.59, 0.21],
        [0.62, 0.41, 0.37, 0.0],
    ]
    weights = None
    expected_mean_curve = numpy.array([0.83, 0.67333333, 0.54333333, 0.17])
    numpy.testing.assert_allclose(
        expected_mean_curve, mean_curve(curves, weights=weights))