Skip to content

Commit dbf4130

Browse files
author
Kartik Raj
committed
Try something
1 parent 05a3ccd commit dbf4130

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/client/common/process/pythonExecutionFactory.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import { inject, injectable } from 'inversify';
44

55
import { IEnvironmentActivationService } from '../../interpreter/activation/types';
6-
import { IActivatedEnvironmentLaunch, IComponentAdapter } from '../../interpreter/contracts';
6+
import { IComponentAdapter } from '../../interpreter/contracts';
77
import { IServiceContainer } from '../../ioc/types';
88
import { sendTelemetryEvent } from '../../telemetry';
99
import { EventName } from '../../telemetry/constants';
@@ -52,10 +52,10 @@ export class PythonExecutionFactory implements IPythonExecutionFactory {
5252
public async create(options: ExecutionFactoryCreationOptions): Promise<IPythonExecutionService> {
5353
let { pythonPath } = options;
5454
if (!pythonPath || pythonPath === 'python') {
55-
const activatedEnvLaunch = this.serviceContainer.get<IActivatedEnvironmentLaunch>(
56-
IActivatedEnvironmentLaunch,
57-
);
58-
await activatedEnvLaunch.selectIfLaunchedViaActivatedEnv();
55+
// const activatedEnvLaunch = this.serviceContainer.get<IActivatedEnvironmentLaunch>(
56+
// IActivatedEnvironmentLaunch,
57+
// );
58+
// await activatedEnvLaunch.selectIfLaunchedViaActivatedEnv();
5959
// If python path wasn't passed in, we need to auto select it and then read it
6060
// from the configuration.
6161
const interpreterPath = this.interpreterPathExpHelper.get(options.resource);

src/test/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ function configure(): SetupOptions {
5252
process.env.IS_MULTI_ROOT_TEST = IS_MULTI_ROOT_TEST.toString();
5353

5454
// Check for a grep setting. Might be running a subset of the tests
55-
const defaultGrep = process.env.VSC_PYTHON_CI_TEST_GREP;
55+
const defaultGrep = 'ultiroot Linting';
5656
// Check whether to invert the grep (i.e. test everything that doesn't include the grep).
5757
const invert = (process.env.VSC_PYTHON_CI_TEST_INVERT_GREP || '').length > 0;
5858

0 commit comments

Comments
 (0)