-
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
Folders named 'py' result in "Test result not found" #17414
Comments
This is a very specific case with folders named |
One more thing. It looks like parameter Just want remind that it should be taken into account.
then tests are discovered, but if I try to execute those, then I am getting a message in Python Test Log:
then test are discovered, but I am getting an error described in the first message in this issue: |
Is there a workaround for this (other than renaming directories) until the fix/rewrite is released? Or are we stuck with a broken test runner until then? |
@hszw-forpeople I recommend using an older version of the extension 2021.8.*, if you cannot change the name. |
Just a note, probably related to #17242 |
Can confirm - renaming my directory from 'py' to '_py' works around this issue. |
Hello! We have just finished our testing rewrite and are beginning the roll out to users. I have tested this issue with the re-write and I am not longer reproducing the bug! If you would like to try it yourself, you need to be on vscode insiders and then add this setting to your users |
Environment data
python.languageServer
setting: PylanceExpected behaviour
This simple test should appear succeeded in UI :
Actual behaviour
The test is failed (red circle) with this reason :
Steps to reproduce:
The issue is very similar to #17270 which is closed by #17275
The only difference that in my case folder name is not starting with "py", but the whole folder name is "py":
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: