Remove is_py3 and is_py35

This commit is contained in:
Dave Halter
2020-07-02 02:22:09 +02:00
parent 17343bb57c
commit 0cd6a8f5cc
5 changed files with 15 additions and 38 deletions

View File

@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
from jedi._compatibility import is_py3
from jedi import parser_utils
from parso import parse
from parso.python import tree
@@ -55,10 +54,7 @@ def test_hex_values_in_docstring():
'''
doc = parser_utils.clean_scope_docstring(next(parse(source).iter_funcdefs()))
if is_py3:
assert doc == '\xff'
else:
assert doc == u'<EFBFBD>'
assert doc == '\xff'
@pytest.mark.parametrize(