Skip to content

Show notification reaffirming Python extension still handles activation when in pythonTerminalEnvVarActivation experiment #21802

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

Merged
merged 18 commits into from
Aug 15, 2023
Prev Previous commit
Next Next commit
Fix unit tests
  • Loading branch information
Kartik Raj committed Aug 11, 2023
commit 2262aed32fc0d954816f7ff9fc34c5e27bdacce4
3 changes: 2 additions & 1 deletion src/client/common/experiments/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@
import { env, workspace } from 'vscode';
import { IExperimentService } from '../types';
import { TerminalEnvVarActivation } from './groups';
import { isTestExecution } from '../constants';

export function inTerminalEnvVarExperiment(experimentService: IExperimentService): boolean {
if (workspace.workspaceFile && env.remoteName) {
if (!isTestExecution() && workspace.workspaceFile && env.remoteName) {
// TODO: Remove this if statement once https://github.com/microsoft/vscode/issues/180486 is fixed.
return false;
}
Expand Down