def test_angle_with_cds_units_enabled():
 from ...units import cds
 from ..angle_utilities import _AngleParser
 del _AngleParser._parser
 with cds.enable():
  Angle(u'5d')
 del _AngleParser._parser
 Angle(u'5d')

def test_angle_with_cds_units_enabled ( ) : from ... units import cds from . . angle_utilities import _AngleParser del _AngleParser . _parser with cds . enable ( ) : Angle ( u'5d' ) del _AngleParser . _parser Angle ( u'5d' )
regression test for #5350 especially the example in URL#issuecomment-248770151 .