mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-09 23:34:45 +08:00
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
|
||||
# ignore them, because it's not what we want to support in the
|
||||
# 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((b, c)):\n pass', [])
|
||||
|
||||
Reference in New Issue
Block a user