Files
Pyarmor-Static-Unpack-1shot/tests/tokenized/lambdas_assignment.txt
Michael Hansen 391ba6502d Migrate additional tests which previously didn't have reference source to
the new test system, including new reference source.
2019-10-07 17:06:08 -07:00

10 lines
305 B
Plaintext

def test_logger ( arg , var ) : <EOL>
<INDENT>
print arg <EOL>
print var <EOL>
<OUTDENT>
asdf = { } <EOL>
asdf [ 'a' ] = lambda x : test_logger ( 1 , x ) <EOL>
asdf [ 'b' ] = lambda y : test_logger ( 2 , y ) <EOL>
mult3 = filter ( ( lambda x : x % 3 == 0 ) , [ 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 ] ) <EOL>