Fix conesearch test failure under Python 3.4
This is just https://github.com/astrofrog/astropy/commit/b3942c4f1719121eb196ef79213d14f5f702eb4a