Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve error message when parsing tests #29

Open
sobolevn opened this issue Jul 12, 2020 · 0 comments
Open

Improve error message when parsing tests #29

sobolevn opened this issue Jul 12, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@sobolevn
Copy link
Member

Currently, when parsing error happens, you will end up with something like this:

  File "/Users/sobolev/Documents/github/returns/.venv/lib/python3.7/site-packages/pytest_mypy_plugins/utils.py", line 256, in assert_string_arrays_equal
    lineno = int(first_failure.split(" ")[0].strip(":").split(":")[1])
IndexError: list index out of range

We need to improve it!

@sobolevn sobolevn added the enhancement New feature or request label Jul 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

1 participant