diff options
Diffstat (limited to 'coverage')
-rw-r--r-- | coverage/backward.py | 5 | ||||
-rw-r--r-- | coverage/codeunit.py | 1 |
2 files changed, 1 insertions, 5 deletions
diff --git a/coverage/backward.py b/coverage/backward.py index cb62638a..9a3c9f7c 100644 --- a/coverage/backward.py +++ b/coverage/backward.py @@ -5,16 +5,13 @@ # pylint: disable=unused-import # pylint: disable=no-name-in-module -import os -import re import sys # Pythons 2 and 3 differ on where to get StringIO. try: from cStringIO import StringIO - BytesIO = StringIO except ImportError: - from io import StringIO, BytesIO + from io import StringIO # What's a string called? try: diff --git a/coverage/codeunit.py b/coverage/codeunit.py index 4e64bb0d..28155261 100644 --- a/coverage/codeunit.py +++ b/coverage/codeunit.py @@ -2,7 +2,6 @@ import os -from coverage.backward import unicode_class from coverage.files import FileLocator from coverage.plugin import FileReporter |