"""Module holding custom data generation strategies""" from hypothesis.strategies import characters, composite @composite def average_numbers_string(draw): num = draw(floats(allow_nan=False, allow_infinity=False,)) return f"{num:.3f}"