Skip to content

Test runner appears to not respect the selected interpreter setting #7215

@stereobutter

Description

@stereobutter

Extension version: 2019.9.34474
VS Code version: Code 1.38.0 (3db7e09, 2019-09-03T21:47:00.464Z)
OS version: Darwin x64 18.6.0


In settings.json I selected an interpreter (that has some additional dependencies for pytest installed) via "python.pythonPath". When I run pytest tests from the terminal (with the appropriate interpreter activated) my tests run fine, while the test runner complains

"Test discovery error, please check the configuration settings for the tests."

due to some pytest argument error (presumably caused by not finding the proper dependencies)

Metadata

Metadata

Labels

info-neededIssue requires more information from poster

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions