CFMTech / pytest-monitor

Pytest plugin for analyzing resource usage during test sessions
MIT License
173 stars 16 forks source link

Module with Doctests item fail to run even with --no-monitor option. #35

Closed js-dieu closed 3 years ago

js-dieu commented 3 years ago

Describe the bug Consider the following snippet:

def run(a, b):
    """
    >>> run(3, 30)
    33
    """
    return a + b

Running pytest with --no-monitor cause the test to fail. If the option is unset, the test still fail

Expected behavior doctests should be run without monitoring.