Commit 2b8619f
committed
fix: skip useEnvironmentsExtension check in test environments
The python.useEnvironmentsExtension setting is defined by ms-python.python
which isn't installed during tests. Instead of polluting the python.* namespace
by defining the setting ourselves, we check for test environment variables
(VSC_PYTHON_SMOKE_TEST, VSC_PYTHON_E2E_TEST, VSC_PYTHON_INTEGRATION_TEST)
and skip the setting check when running tests.1 parent ddc501d commit 2b8619f
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
91 | 97 | | |
92 | 98 | | |
93 | 99 | | |
| |||
0 commit comments