##// END OF EJS Templates
test_autocall
vivainio -
Show More
@@ -0,0 +1,24 b''
1 def f1(a,b,c):
2 return a+b+c
3
4
5 def f2(a):
6 return a + a
7
8
9 ;f2 a b c
10 assert _ == "a b ca b c"
11
12 ,f1 a b c
13 assert _ == 'abc'
14 print _
15
16 /f1 1,2,3
17 assert _ == 6
18
19 /f2 4
20 assert _ == 8
21
22 del f1
23 del f2
24
General Comments 0
You need to be logged in to leave comments. Login now