def find_divisors(x):
    """
    This is the "function to find divisors in order to find generators" module.
    This DocTest verifies that the module is correctly calculating all divisors
    of a number x.

    >>> find_divisors(10)
    [1, 2, 5, 10]

    >>> find_divisors(112)
    [1, 2, 4, 7, 8, 14, 16, 28, 56, 112]
    """
    divisors = [ i for i in range(1,x+1) if x % i == 0]
    return divisors