Less hackish way to exclude Python 2 code from coverage.