changeset 239:f4a00d87e209

test_secret_if: test is not using a prime anymore
author Sigurd Meldgaard <stm@daimi.au.dk>
date Tue, 05 Jan 2010 14:42:07 +0100
parents 632c18c86fde
children 43a154b5c1e2
files pysmcl/test/unit/test_secret_ifs.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pysmcl/test/unit/test_secret_ifs.py	Tue Jan 05 14:41:09 2010 +0100
+++ b/pysmcl/test/unit/test_secret_ifs.py	Tue Jan 05 14:42:07 2010 +0100
@@ -71,7 +71,7 @@
         parsed = parse(program)
         trans = TransformIfs()
         secret_analysis(parsed.body[0])
-        RangeAnalysis(pysmcl.setup.Zp.modulus).apply(parsed.body[0], args)
+        RangeAnalysis().apply(parsed.body[0], args)
         prog = trans.visit(parsed)
         result = pprint_string(parsed)
         self.assertEquals(expected, result)