Avoid Warning in coverage for open sockets.
Full coverage for pygments.