Rename .params to .get_params().

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

No files matched your search

+1 -1
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())