mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 14:34:31 +08:00
Remove is_py3 and is_py35
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user