You need to do `str('x')`, etc., here for Python 2, since `from __future__ import unicode_literals` is at the top of this file.

http://docs.astropy.org/en/stable/development/codeguide.html#not-so-fast-on-that-unicode-thing

I'd rather see this use the "common" method here.