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
ptw fails silently on startup if there is a syntax error #73
Comments
Related previous fix: #45 Some code part to look at: pytest-watch/pytest_watch/config.py Lines 64 to 68 in 91bc8a1
|
@markscottwright |
Found this when looking into it: pytest-dev/pytest#2753. |
Has there been any movement on this? I've been bitten by this bug a few times and it's confounding when you encounter it because it isn't apparent anything is even wrong. If it helps at all, I've tested PR #90 locally and it seems to fix the issue for me. |
Just released v4.2.0 which includes a fix for this. Thanks for opening the issue, @markscottwright! |
With the following unit test file:
ptw will fail silently.
If I fix the syntax error, I can start ptw. If I introduce a syntax error later (after starting ptw, while it is still running), I get the expected SyntaxError exception:
The text was updated successfully, but these errors were encountered: