Files
Pyarmor-Static-Unpack-1shot/tests/tokenized/if_elif_else.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

16 lines
248 B
Plaintext

def test ( msgtype , flags ) : <EOL>
<INDENT>
if flags == 1 : <EOL>
<INDENT>
msgtype = 1 <EOL>
<OUTDENT>
elif flags == 2 : <EOL>
<INDENT>
msgtype = 2 <EOL>
<OUTDENT>
elif flags == 3 : <EOL>
<INDENT>
msgtype = 3 <EOL>
<OUTDENT>
return msgtype <EOL>