forked from VimPlug/jedi
Fix Python 2 tests.
This commit is contained in:
@@ -185,7 +185,7 @@ def test_param_splitting():
|
|||||||
# We don't want b and c to be a part of the param enumeration. Just
|
# We don't want b and c to be a part of the param enumeration. Just
|
||||||
# ignore them, because it's not what we want to support in the
|
# ignore them, because it's not what we want to support in the
|
||||||
# future.
|
# future.
|
||||||
assert [str(param.name) for param in m.subscopes[0].params] == result
|
assert [param.name.value for param in m.subscopes[0].params] == result
|
||||||
|
|
||||||
check('def x(a, (b, c)):\n pass', ['a'])
|
check('def x(a, (b, c)):\n pass', ['a'])
|
||||||
check('def x((b, c)):\n pass', [])
|
check('def x((b, c)):\n pass', [])
|
||||||
|
|||||||
Reference in New Issue
Block a user