Solve bug with gcd and random_expression

This commit is contained in:
Benjamin Bertrand 2016-03-19 15:23:09 +03:00
parent 9dd3f750b6
commit b1c4860964

View File

@ -6,6 +6,9 @@ import re
import pyparsing import pyparsing
from .generic import flatten_list from .generic import flatten_list
# Below import are needed for conditions in varia generation.
from .arithmetic import gcd
def random_str(form, conditions=[], val_min=-10, val_max=10): def random_str(form, conditions=[], val_min=-10, val_max=10):
""" Create a random string using RdExpression class """ """ Create a random string using RdExpression class """