If you need to use a raster PNG badge, change the '.svg' to '.png' in the link
Raise the correct exception in Enum.__getattr__.
Some changelog says this was changed in 3.2, but it seems to only cause
an issue in 3.5.
relevant lines covered
hits per line