Skip to content

Commit

Permalink
Revert "Prevent SyntaxError."
Browse files Browse the repository at this point in the history
This reverts commit 5b2cb84.
  • Loading branch information
Michael Howitz committed Feb 1, 2017
1 parent dda59ba commit f4e3c15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_transformer.py
Expand Up @@ -833,7 +833,7 @@ def test_transformer__RestrictingNodeTransformer__visit_Lambda_2(compile, mocker

src = "m = lambda (a, (b, c)), *ag, **kw: a+b+c+sum(ag)+sum(kw.values())"
code, errors = compile(src)[:2]
exec(code, glb, glb)
exec(code, glb)

ret = glb['m']((1, (2, 3)), 4, 5, 6, g=7, e=8)
assert ret == 36
Expand Down

0 comments on commit f4e3c15

Please sign in to comment.