assertAlmostEqual is an alias for loss_curve_almost_equal. Why don't simply remove it by changing the calling code?