Rename .params to .get_params().

This commit is contained in:
Dave Halter
2017-08-06 17:29:29 +02:00
parent 8c3373a0d9
commit 3c961e2b70
5 changed files with 12 additions and 13 deletions

View File

@@ -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())