Merge pull request #325 from zrax/test_calls
Add unit test for basic function calls (py3)
This commit is contained in:
BIN
tests/compiled/test_calls.3.1.pyc
Normal file
BIN
tests/compiled/test_calls.3.1.pyc
Normal file
Binary file not shown.
BIN
tests/compiled/test_calls.3.10.pyc
Normal file
BIN
tests/compiled/test_calls.3.10.pyc
Normal file
Binary file not shown.
BIN
tests/compiled/test_calls.3.5.pyc
Normal file
BIN
tests/compiled/test_calls.3.5.pyc
Normal file
Binary file not shown.
BIN
tests/compiled/test_calls.3.8.pyc
Normal file
BIN
tests/compiled/test_calls.3.8.pyc
Normal file
Binary file not shown.
9
tests/input/test_calls.py
Normal file
9
tests/input/test_calls.py
Normal file
@@ -0,0 +1,9 @@
|
||||
import sys
|
||||
import os
|
||||
|
||||
sys.stdout.write('Test\n')
|
||||
sys.stdout.write(os.path.join('foo', 'bar'))
|
||||
|
||||
print('\n')
|
||||
print(eval('4 * 13'))
|
||||
print()
|
7
tests/tokenized/test_calls.txt
Normal file
7
tests/tokenized/test_calls.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
import sys <EOL>
|
||||
import os <EOL>
|
||||
sys . stdout . write ( 'Test\n' ) <EOL>
|
||||
sys . stdout . write ( os . path . join ( 'foo' , 'bar' ) ) <EOL>
|
||||
print ( '\n' ) <EOL>
|
||||
print ( eval ( '4 * 13' ) ) <EOL>
|
||||
print ( ) <EOL>
|
Reference in New Issue
Block a user