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
1 changed files with 3 additions and 0 deletions

View File

@ -6,6 +6,9 @@ import re
import pyparsing
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):
""" Create a random string using RdExpression class """