##// END OF EJS Templates
Fixed bug on tests so they work when iptest is not called from within IPython/tests
Fixed bug on tests so they work when iptest is not called from within IPython/tests

File last commit:

r183:10a727b4
r1799:d961ec93
Show More
test_autocall.ipy
24 lines | 196 B | text/plain | TextLexer
def f1(a,b,c):
return a+b+c
def f2(a):
return a + a
;f2 a b c
assert _ == "a b ca b c"
,f1 a b c
assert _ == 'abc'
print _
/f1 1,2,3
assert _ == 6
/f2 4
assert _ == 8
del f1
del f2