From 627d2326cf4880e1b970e9da7ad812f433b364b7 Mon Sep 17 00:00:00 2001 From: bryan newbold Date: Tue, 18 Mar 2014 16:51:51 -0400 Subject: simpler python test() result --- minimal.py | 4 ++-- 1 file 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()) -- cgit v1.2.3