[SCM] polybori: Polynomials over Boolean Rings branch, upstream-hg, updated. b4a5cffaa908c53e1d958a42110f8c4dad853aa3

Alexander Dreyer adreyer at gmx.de
Fri Mar 23 08:01:37 UTC 2012


The following commit has been merged in the upstream-hg branch:
commit e6e12213f63340f88741041acce7fe2d1e800015
Author: Alexander Dreyer <adreyer at gmx.de>
Date:   Tue Feb 28 11:54:50 2012 +0100

    FIX: don't check random part of random doctest

diff --git a/pyroot/polybori/randompoly.py b/pyroot/polybori/randompoly.py
index 32528be..edb9ef8 100644
--- a/pyroot/polybori/randompoly.py
+++ b/pyroot/polybori/randompoly.py
@@ -64,8 +64,8 @@ def sparse_random_system(ring, number_of_polynomials, variables_per_polynomial,
 def sparse_random_system_data_file_content(
     number_of_variables, **kwds):
     r"""
-    >>> sparse_random_system_data_file_content(10, number_of_polynomials = 5, variables_per_polynomial = 3, degree=2, random_seed=123)
-    "declare_ring(['x'+str(i) for in xrange(10)])\nideal=\\\n[x0*x3 + x0 + x3*x9 + x3,\n x0*x2 + x2 + x5,\n x0*x4 + x4*x8 + x4,\n x0*x1 + x0*x7,\n x2*x5 + x2 + x5 + x9]\n\n"
+    >>> sparse_random_system_data_file_content(10, number_of_polynomials = 5, variables_per_polynomial = 3, degree=2, random_seed=123) # doctest: +ELLIPSIS
+    "declare_ring(['x'+str(i) for in xrange(10)])\nideal=\\\n[...]\n\n"
     """
     dummy_dict=dict()
     r=declare_ring(['x'+str(i) for i in xrange(number_of_variables)], dummy_dict)

-- 
polybori: Polynomials over Boolean Rings



More information about the debian-science-commits mailing list