You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, MyPy produces the error: error: 'object' not callable on every line where I use pytest.not_implemented.
Is there a way to work around this that does not require multiple ugly comments like in the following code snippet everywhere in my parametrized tests?
The same issue has been reported in pytest-lazy-fixture on PyPI: TvoroG/pytest-lazy-fixture#51 . The OP there has determined that they don't get the problem in Pytest 5.4.3 or earlier.
Versions
This is on Windows 10, MyPy 0.981 and Pytest 7.1.2
pip list
from the virtual environment you are usingI have a simple plugin to shorten the boilerplate for not-implemented parameters from
to
My
conftest.py
looks like this:However, MyPy produces the error:
error: 'object' not callable
on every line where I use pytest.not_implemented.Is there a way to work around this that does not require multiple ugly comments like in the following code snippet everywhere in my parametrized tests?
Can the underlying issue be fixed in Pytest?
The same issue has been reported in
pytest-lazy-fixture
on PyPI: TvoroG/pytest-lazy-fixture#51 . The OP there has determined that they don't get the problem in Pytest 5.4.3 or earlier.Versions
This is on Windows 10, MyPy 0.981 and Pytest 7.1.2
packages in conda environment
The text was updated successfully, but these errors were encountered: