astropy/astropy — pull request #1458 by mhvk (2013-09-16 18:27:36+00:00)
Title: sqrt in units -> should return unit**0.5, not unit**-2

Currently, `Unit('sqrt(m)')` returns `Unit("1 / m2")`. This is corrected here (as is the test that tested the wrong behaviour).