-
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
The "-m" option is ignored in python.testing.pytestArgs #10827
Comments
I can reproduce this issue when running tests files, suites, classes, methods, but not when I
But this is still a bug, thanks for reporting. |
Was able to fix this in my vscode by making the mark arg a single line: {
"python.testing.pytestArgs": [
"-m not slow",
"--cov-report=lcov:.coverage.lcov"
],
} |
Hello! We have just finished our testing rewrite and are beginning the rollout to users. I have tested this issue with the re-write and I am no longer reproducing the bug! If you would like to try it yourself, you need to add this setting to your users |
Environment data
"python.jediEnabled"
set to; more info How to update the language server to the latest stable version #3977): Jedi enabledpython.languageServer
setting: MicrosoftExpected behaviour
Actual behaviour
Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]
I did try combining the options onto one line with
"-m\"not slow\""
(which works when running via command-line), but in that case pytest did not seem to pick it up properly.The text was updated successfully, but these errors were encountered: