aboutsummaryrefslogtreecommitdiffstats
path: root/minimal.py
diff options
context:
space:
mode:
authorbryan newbold <bnewbold@leaflabs.com>2014-03-18 16:51:51 -0400
committerbryan newbold <bnewbold@leaflabs.com>2014-03-18 16:51:51 -0400
commit627d2326cf4880e1b970e9da7ad812f433b364b7 (patch)
treeb8b9cd00b07823338760ade0dfffc133ae75b23b /minimal.py
parent4c0a1c3216548fbf3ec25af58fcadf7eced3dac3 (diff)
downloadspectrum-627d2326cf4880e1b970e9da7ad812f433b364b7.tar.gz
spectrum-627d2326cf4880e1b970e9da7ad812f433b364b7.zip
simpler python test() result
Diffstat (limited to 'minimal.py')
-rw-r--r--minimal.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/minimal.py b/minimal.py
index a34941c..8a282da 100644
--- a/minimal.py
+++ b/minimal.py
@@ -151,8 +151,8 @@ def value(x):
def test():
# ((lambda (x) (+ 1 x)) 5) ; 6
v = value( (('lambda', ('x',), ('+', 1, 'x')), 5) )
- print(v)
assert(v is 6)
+ return True
if __name__=='__main__':
- test()
+ print(test())