mirror of
https://github.com/davidhalter/parso.git
synced 2026-11-04 02:02:49 +08:00
Rename .params to .get_params().
This commit is contained in:
1 parent
8c3373a0d9
commit
3c961e2b70
5 files changed
+12
-13
No files matched your search
+1
-1
@@ -117,7 +117,7 @@ def test_param_splitting(each_version):
|
||||
# ignore them, because it's not what we want to support in the
|
||||
# future.
|
||||
func = next(m.iter_funcdefs())
|
||||
assert [param.name.value for param in func.params] == result
|
||||
assert [param.name.value for param in func.get_params()] == result
|
||||
else:
|
||||
assert not list(m.iter_funcdefs())
|
||||
|
||||
|
||||
Reference in new issue
Block a user