Remove python 2 compatibility code from dviread #10481
Simplify dviread.py and test_dviread.py now that we don't support Python 2.7 on master. Python's issue 12493 was fixed in Python 3.3 and some fairly late release of 2.7, so since we support 3.5+ we don't need that workaround any more.
Feb 16, 2018
7 of 8 checks passed
codecov/project/tests 98.39% (-0.01%) compared to 78c484eDetails
ci/circleci: docs-python35 Your tests passed on CircleCI!Details
ci/circleci: docs-python36 Your tests passed on CircleCI!Details
codecov/patch 86.66% of diff hit (target 50%)Details
codecov/project/library 66.96% (target 50%)Details
continuous-integration/appveyor/pr AppVeyor build succeededDetails
continuous-integration/travis-ci/pr The Travis CI build passedDetails
lgtm analysis: Python No alert changesDetails
Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews.