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

Fixups for running pytest via VSCode #933

Merged
merged 3 commits into from
Jan 17, 2025

Conversation

bpkroth
Copy link
Contributor

@bpkroth bpkroth commented Jan 17, 2025

Pull Request

Title

Fixups for running pytest via VSCode


Description

@motus noticed that running all tests in VSCode was hanging inside a DevContainer on MacOS.

After some debugging I determined that there was some mismatch between discovering tests and running them, specifically for the GridSearchOptimizer. This was true on the CLI as well.

Adding it to the __init__.py for that submodule seems to fix the issue.


Type of Change

  • 🛠️ Bug fix

Testing

  • Local VSCode in both DevContainer and MacOS native mode.

Additional Notes (optional)

Don't know of others like this but I wonder if that's an issue now ...


@bpkroth bpkroth requested a review from a team as a code owner January 17, 2025 19:43
@bpkroth bpkroth added bug Something isn't working ready for review Ready for review labels Jan 17, 2025
@bpkroth bpkroth enabled auto-merge (squash) January 17, 2025 19:44
@bpkroth bpkroth merged commit 662b79d into microsoft:main Jan 17, 2025
16 checks passed
@bpkroth bpkroth deleted the vscode-pytest-fixups branch January 17, 2025 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ready for review Ready for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants