Skip to content

Commit c697956

Browse files
committed
Fix unit test broken by recent revert
1 parent 94da334 commit c697956

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/test/common/installer/moduleInstaller.unit.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ import { IServiceContainer } from '../../../client/ioc/types';
4747
import { EnvironmentType, PythonEnvironment } from '../../../client/pythonEnvironments/info';
4848
import { EXTENSION_ROOT_DIR_FOR_TESTS } from '../../constants';
4949

50-
const isolated = path.join(EXTENSION_ROOT_DIR_FOR_TESTS, 'pythonFiles', 'pyvsc-run-isolated.py').replace(/\\/g, '/');
50+
const isolated = path.join(EXTENSION_ROOT_DIR_FOR_TESTS, 'pythonFiles', 'pyvsc-run-isolated.py');
5151

5252
/* Complex test to ensure we cover all combinations:
5353
We could have written separate tests for each installer, but we'd be replicate code.

src/test/common/process/pythonProcess.unit.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { IProcessService, StdErrError } from '../../../client/common/process/typ
1212
import { EXTENSION_ROOT_DIR_FOR_TESTS } from '../../constants';
1313
import { noop } from '../../core';
1414

15-
const isolated = path.join(EXTENSION_ROOT_DIR_FOR_TESTS, 'pythonFiles', 'pyvsc-run-isolated.py').replace(/\\/g, '/');
15+
const isolated = path.join(EXTENSION_ROOT_DIR_FOR_TESTS, 'pythonFiles', 'pyvsc-run-isolated.py');
1616

1717
use(chaiAsPromised);
1818

0 commit comments

Comments
 (0)