Closed egabrum closed 5 years ago
I got it to run using this diff:
(the pytest change is only the from_call
one. I also had to make sure to use the 5:5
syntax, I had also an issue that it would forward some parameters as strings from the pytest.ini and that breaks things (which may be OK, but the breaking was hidden away breaking everything).
I am using my diff very successfully to test numpy right now. Any chance we can maintain pytests-leaks a bit better? Once numpy is clean (at least minus f2py, but...) it can become very cool for more projects in that eco system maybe?
INTERNALERROR> File "c:\python37\lib\site-packages\pytest_leaks.py", line 90, in pytest_runtest_protocol INTERNALERROR> 'leakshunt') INTERNALERROR> TypeError: __init__() missing 3 required positional arguments: 'start', 'stop', and 'when'
Run on pytest 4.5.0, but it's probably been broken for a while.