summaryrefslogtreecommitdiff
path: root/tests/test_parser.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_parser.py')
-rw-r--r--tests/test_parser.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/test_parser.py b/tests/test_parser.py
index f49c9900..64839572 100644
--- a/tests/test_parser.py
+++ b/tests/test_parser.py
@@ -22,8 +22,6 @@ class PythonParserTest(CoverageTest):
def parse_source(self, text):
"""Parse `text` as source, and return the `PythonParser` used."""
- if env.PY2:
- text = text.decode("ascii")
text = textwrap.dedent(text)
parser = PythonParser(text=text, exclude="nocover")
parser.parse_source()