In doctest format, continuing code lines need to start with `...`, i.e.

```
>>> u.deg.to('', equivalencies=u.angles_dimensionless())
0.01745329...
>>> (0.5e38 * u.kg * u.m**2 * (u.cycle / u.s)**2).to(u.J,  
...                               equivalencies=u.angles_dimensionless())
```