VSCode Pytest Discovery Fails With Unhelpful Error #22491
Replies: 1 comment
-
Converted to an issue: #22513 . |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
PyTest Discovery consistently failing, the error message isn't telling me much. Error messages follow (full log at end of message).
The Python extension has run into an unexpected situation while processing a pytest node during test discovery. Please Please open an issue at: https://github.com/microsoft/vscode-python/issues and paste the following output there.
INTERNALERROR> NotImplementedError: Unexpected pytest node (see printed output).
NotImplementedError: Unexpected pytest node (see printed output).
Exception: pytest discovery failed (exit code 3)
I'm (attempting) to run using poetry. Full log below but additionally I've come across a number of issues which seem to swap around. I'm not sure where to go with the above but I've also come across regular
ModuleNotFound
import errors during Test Discovery that aren't present when executing a test with PyTest. If anybody is able to advise on that.Beta Was this translation helpful? Give feedback.
All reactions