mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 14:04:26 +08:00
Fix tests, skip more Python 2
This commit is contained in:
@@ -388,6 +388,7 @@ k = 'a'
|
|||||||
#? int()
|
#? int()
|
||||||
some_dct[k]
|
some_dct[k]
|
||||||
|
|
||||||
|
# python > 3.5
|
||||||
some_other_dct = dict(some_dct, c=set)
|
some_other_dct = dict(some_dct, c=set)
|
||||||
#? int()
|
#? int()
|
||||||
some_other_dct['a']
|
some_other_dct['a']
|
||||||
|
|||||||
@@ -326,6 +326,7 @@ _dict_keys_completion_tests = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.mark.skipif(sys.version_info[0] == 2, reason="Ignore Python 2, because EOL")
|
||||||
@pytest.mark.parametrize(
|
@pytest.mark.parametrize(
|
||||||
'added_code, column, expected', _dict_keys_completion_tests
|
'added_code, column, expected', _dict_keys_completion_tests
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user