forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Support for pytest plugins that work with non-python files #16742
Labels
area-testing
bug
Issue identified by VS Code Team member as probable bug
meta
Issue that is tracking an overall project
Comments
ssbarnea
added
triage-needed
Needs assignment to the proper sub-team
bug
Issue identified by VS Code Team member as probable bug
labels
Jul 21, 2021
karthiknadig
changed the title
pytest: test discovery error
Support for python tests detected by pytest in non-python files
Jul 22, 2021
karthiknadig
changed the title
Support for python tests detected by pytest in non-python files
Support for pytest pluggins that work with non-python files
Jul 22, 2021
With this there are 3 separate problems:
/cc @luabud |
karthiknadig
removed
triage-needed
Needs assignment to the proper sub-team
bug
Issue identified by VS Code Team member as probable bug
labels
Jul 22, 2021
karthiknadig
added
area-testing
meta
Issue that is tracking an overall project
needs proposal
Need to make some design decisions
bug
Issue identified by VS Code Team member as probable bug
labels
Jul 22, 2021
brettcannon
changed the title
Support for pytest pluggins that work with non-python files
Support for pytest plugins that work with non-python files
Jul 22, 2021
non-python files seem to work now in the latest version of the python extension (v2023.18.0) |
Thank you @DetachHead! Closing this issue |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
area-testing
bug
Issue identified by VS Code Team member as probable bug
meta
Issue that is tracking an overall project
Environment data
python.languageServer
setting: XXX[NOTE: If you suspect that your issue is related to the Microsoft Python Language Server (
python.languageServer: 'Microsoft'
), please download our new language server Pylance from the VS Code marketplace to see if that fixes your issue]Expected behaviour
Test discovery to succeed, as it does also suceeds with
pytest --collect-only
Actual behaviour
Popup reporting Test discovery error, see log below for details.
Steps to reproduce:
Open https://github.com/ansible-community/ansible-compat repository inside vscode.
Logs
Output for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)The text was updated successfully, but these errors were encountered: