diff options
Diffstat (limited to 'tests/functional/l/lambda_use_before_assign.py')
-rw-r--r-- | tests/functional/l/lambda_use_before_assign.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/functional/l/lambda_use_before_assign.py b/tests/functional/l/lambda_use_before_assign.py new file mode 100644 index 000000000..af2775cae --- /dev/null +++ b/tests/functional/l/lambda_use_before_assign.py @@ -0,0 +1,8 @@ +"""https://www.logilab.net/elo/ticket/18862""" +from __future__ import print_function +__revision__ = 1 +def function(): + """hop""" + ggg = lambda: xxx + xxx = 1 + print(ggg()) |