astropy/astropy — pull request #2015 by krngrvr09 (2014-01-28 22:14:15+00:00)
Title: Fixed Issue #1979

Improved the error message and added a test case.
Please review the changes.