mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-08 23:04:48 +08:00
Skip more Python 2 tests
This commit is contained in:
@@ -61,7 +61,7 @@ def test_param_default(Script, code, expected_params):
|
|||||||
('def f(*args, x): pass\nf', 1, 'x', 'KEYWORD_ONLY'),
|
('def f(*args, x): pass\nf', 1, 'x', 'KEYWORD_ONLY'),
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
def test_param_kind_and_name(code, index, param_code, kind, Script):
|
def test_param_kind_and_name(code, index, param_code, kind, Script, skip_python2):
|
||||||
func, = Script(code).goto_assignments()
|
func, = Script(code).goto_assignments()
|
||||||
sig, = func.get_signatures()
|
sig, = func.get_signatures()
|
||||||
param = sig.params[index]
|
param = sig.params[index]
|
||||||
|
|||||||
Reference in New Issue
Block a user