Skip to content
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

fix pytest run script to add cwd to path #21399

Merged
merged 1 commit into from
Jun 9, 2023

Conversation

eleanorjboyd
Copy link
Member

fixes #21397. The issue came from the setup of running a script that then runs pytest which is different then pytest discovery which runs pytest as a module. The run script didn't work since the script did not insert the cwd into the path like what is done when running a module. This change inserts the cwd.

@eleanorjboyd eleanorjboyd added the bug Issue identified by VS Code Team member as probable bug label Jun 9, 2023
@eleanorjboyd eleanorjboyd self-assigned this Jun 9, 2023
@eleanorjboyd eleanorjboyd marked this pull request as ready for review June 9, 2023 20:16
@eleanorjboyd eleanorjboyd enabled auto-merge (squash) June 9, 2023 20:22
@eleanorjboyd eleanorjboyd merged commit d5500a5 into microsoft:main Jun 9, 2023
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to run pytest in rewrite, fails with wrong testID
2 participants