A sample module named sample_module.py contained the following contents. def mul(x, y):

Questions & AnswersCategory: Programming LanguageA sample module named sample_module.py contained the following contents. def mul(x, y):
Adam asked 2 years ago

A sample module named sample_module.py contained the following contents.

def mul(x, y):

    """Multiplies two given numbers and returns the product.

    >>> mul(6, 7)

    42

    >>> mul(-8, 7)

    >>> -56

    """

    return x * y

What is the expected output when you run the doctests using below command?
python -m doctest sample_module.py
a. Output stating 2 failures
b. Output stating 2 tests passed
c. Output stating 3 tests passed
d. Output stating 3 failures