changeset 92:fa10cecde7a7

pysmcl/test/unit/test_secret_ifs now prints its transformed program
author Sigurd Meldgaard <stm@daimi.au.dk>
date Mon, 08 Jun 2009 12:22:20 +0200
parents dacd3208ff1b
children c85711f38392
files pysmcl/test/unit/test_secret_ifs.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/pysmcl/test/unit/test_secret_ifs.py	Fri May 29 13:19:15 2009 +0200
+++ b/pysmcl/test/unit/test_secret_ifs.py	Mon Jun 08 12:22:20 2009 +0200
@@ -31,6 +31,7 @@
         secret_analysis(prog.body[0])
         prog = trans.visit(prog)
         output = StringIO.StringIO()
+        pprint(prog, output)
         self.assertEquals(expected_result, output.getvalue())
 
 if __name__ == '__main__':