This gives an error on Python 2.6: https://travis-ci.org/astropy/astropy/jobs/7057516#L1286
Does anyone know how to do this correctly?
(If not I'll simply remove that assert statement, it's not very important.)