Trying to run more tests in all versions against all versions.

This commit is contained in:
Dave Halter
2017-07-12 09:37:47 +02:00
parent 9772d64360
commit 75d41c09cd
4 changed files with 64 additions and 36 deletions

View File

@@ -121,7 +121,8 @@ 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 [param.name.value for param in next(m.iter_funcdefs()).params] == result
func = next(m.iter_funcdefs())
assert [param.name.value for param in func.params] == result
check('def x(a, (b, c)):\n pass', ['a'])
check('def x((b, c)):\n pass', [])