diff --git a/gala/coordinates/tests/test_greatcircle.py b/gala/coordinates/tests/test_greatcircle.py index 2e8c86b8c..fd4048a41 100644 --- a/gala/coordinates/tests/test_greatcircle.py +++ b/gala/coordinates/tests/test_greatcircle.py @@ -32,9 +32,10 @@ def test_cls_init(): def test_init_center(): stupid_gal = GreatCircleICRSFrame( pole=coord.Galactic._ngp_J2000.transform_to(coord.ICRS), - center=coord.Galactocentric.galcen_coord) + center=coord.Galactocentric().galcen_coord) gal = coord.Galactic(50*u.deg, 20*u.deg) gal2 = gal.transform_to(stupid_gal) + assert np.isclose(gal.l.degree, gal2.phi1.degree) assert np.isclose(gal.b.degree, gal2.phi2.degree)