astropy/astropy — pull request #1703 by jwoillez (2013-10-30 15:35:23+00:00)
Title: Quantity to Unit issue

When Angle is instantiated with Quantity, equivalence of unit to radian must be checked.
Without the following fix, `Angle(1.0*u.meter)` was OK.

Also note that now `Angle(1.0*u.hour)` is not OK, but `Angle(1.0*u.hourangle)` is!