Open yakimka opened 8 months ago
Hello, I'm encountering E902 errors with flake8 after installing the flake8-mock plugin.
E902
flake8
flake8-mock
Steps to Reproduce:
test_foo.py
docker run --rm -it -v $(pwd)/test_foo.py:/code/test_foo.py -w /code python:3.12-slim-bullseye bash
pip install flake8
pip install flake8-mock==0.4
./test_foo.py:28:2: E902 TokenError: unterminated string literal (detected at line 28)
Content of test_foo.py:
def test_foo(): assert ""
Hello, I'm encountering
E902
errors withflake8
after installing theflake8-mock
plugin.Steps to Reproduce:
test_foo.py
.flake8
:flake8
and observe that there are no errors:flake8-mock
:flake8
again:Content of
test_foo.py
: