Fix Python 2 tests.
This commit is contained in:
1 parent
c4e51f9969
commit
4bd3c91622
1 file changed
+1
-1
@@ -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