No coverage for Python 3 compatibility code.
Increase coverage for config.py by testing this scenario.
Remove now-unused code.