blynkkk/lib-python

tests are not compatible with pytest-mock>=1.11.2

rplevka opened this issue · 2 comments

this commit disallows to use the mocker as a context manager and since setup.py does not restrict the pytest-mock version it uses 1.11.2 and fails the tests.

Hi Roman!
Thx a lot for such catch! For me such restriction in pytest looks a little bit strange - but i thinks guys from pytest-mock know what they do ...
Anyway - I have added related changes to tests and setup.py - now all should works fine.

Please check.

Can be closed