0 votes
in Python by (4.5k points)
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)


    >>> mul(-8, 7)



    return x * y

What is the expected output when you run the doctests using below command?

python -m doctest sample_module.py

Output stating 1 test passed

Output stating 2 tests passed

No output

Output stating 1 failure

1 Answer

0 votes
by (4.5k points)
Ans is

No output

Related questions