CLN: Prune unnecessary internals
Also some post-black cleanups in pandas.io (I think we're almost done with these)

Removing "pragma: no cover" in a couple places because I'm working in those areas and it would be easier if we caught more specific things so I want to see if they are ever reached.