py.test - Disable PyTest Recursion Checking? -
when run pytest, tests failing with
.... !!! recursion detected (same locals & position) however when run tests manually, see there no infinite recursion. code weird stuff trick's pytest's recursion detector.
is there way disable recursion checking tests?
i'm running pytest 3.0.1
if setting return_value on mocked function referenced recursive code, use side_effect instead.
Comments
Post a Comment