AFAIK assert_almost_equal checks for 7 decimal places by default, hence it would probably make more sense to truncat the excess digits.