diff --git a/inequality/tests/test_theil.py b/inequality/tests/test_theil.py index e491d14..ec1008d 100644 --- a/inequality/tests/test_theil.py +++ b/inequality/tests/test_theil.py @@ -47,8 +47,8 @@ def test___init__(self): ] ), ) - y = numpy.array([0,0,0,10,10,10]) - regions = numpy.array([0,0,0,1,1,1]) + y = numpy.array([0, 0, 0, 10, 10, 10]) + regions = numpy.array([0, 0, 0, 1, 1, 1]) theil_d = TheilD(y, regions) numpy.testing.assert_almost_equal(theil_d.T, 0.6931471805599453) numpy.testing.assert_almost_equal(theil_d.bg, 0.6931471805599453)