astropy/astropy — pull request #248 by eteq (2012-05-29 10:02:27+00:00)
Title: updated test_hdulist to work properly if extension names are case-sensitive

I came across this when I set fits.EXTENSION_NAME_CASE_SENSITIVE to True in the configuration file. It turns out one of the tests depends on it being False (to match the name of an extension correctly). This tweak fixes that so that it works regardless of what the user has set for the case sensitivity. @iguananaut - can you confirm this is fine?