diff --git a/tests/test_celestial_galsim.py b/tests/test_celestial_galsim.py index 9fad135d69..3e89bf4eb9 100644 --- a/tests/test_celestial_galsim.py +++ b/tests/test_celestial_galsim.py @@ -127,7 +127,7 @@ def test_angle(): assert_raises(TypeError,galsim.AngleUnit, 1, 3) assert_raises(TypeError,galsim.Angle, 3.4) assert_raises(TypeError,galsim.Angle, theta1, galsim.degrees) - assert_raises((ValueError, TypeError), galsim.Angle, 'spam')) + assert_raises((ValueError, TypeError), galsim.Angle, 'spam') assert_raises(TypeError,galsim.Angle, 1, 3)