diff --git a/test/test_parser/test_parser.py b/test/test_parser/test_parser.py index a5eb72d0..6d4920f8 100644 --- a/test/test_parser/test_parser.py +++ b/test/test_parser/test_parser.py @@ -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', [])