@@ -10,14 +10,11 @@ import { PythonEnvKind } from '../../../../client/pythonEnvironments/base/info';
1010import { getEnvs } from '../../../../client/pythonEnvironments/base/locatorUtils' ;
1111import * as externalDependencies from '../../../../client/pythonEnvironments/common/externalDependencies' ;
1212import * as windowsUtils from '../../../../client/pythonEnvironments/common/windowsUtils' ;
13- import {
14- Conda ,
15- CondaInfo ,
16- CONDA_RUN_SCRIPT ,
17- } from '../../../../client/pythonEnvironments/common/environmentManagers/conda' ;
13+ import { Conda , CondaInfo } from '../../../../client/pythonEnvironments/common/environmentManagers/conda' ;
1814import { CondaEnvironmentLocator } from '../../../../client/pythonEnvironments/base/locators/lowLevel/condaLocator' ;
1915import { createBasicEnv } from '../../base/common' ;
2016import { assertBasicEnvsEqual } from '../../base/locators/envTestUtils' ;
17+ import { OUTPUT_MARKER_SCRIPT } from '../../../../client/common/process/internal/scripts' ;
2118
2219suite ( 'Conda and its environments are located correctly' , ( ) => {
2320 // getOSType() is stubbed to return this.
@@ -484,14 +481,14 @@ suite('Conda and its environments are located correctly', () => {
484481 expect ( args ) . to . not . equal ( undefined ) ;
485482 assert . deepStrictEqual (
486483 args ,
487- [ 'conda' , 'run' , '-n' , 'envName' , '--no-capture-output' , 'python' , CONDA_RUN_SCRIPT ] ,
484+ [ 'conda' , 'run' , '-n' , 'envName' , '--no-capture-output' , 'python' , OUTPUT_MARKER_SCRIPT ] ,
488485 'Incorrect args for case 1' ,
489486 ) ;
490487
491488 args = await conda ?. getRunPythonArgs ( { name : '' , prefix : 'envPrefix' } ) ;
492489 assert . deepStrictEqual (
493490 args ,
494- [ 'conda' , 'run' , '-p' , 'envPrefix' , '--no-capture-output' , 'python' , CONDA_RUN_SCRIPT ] ,
491+ [ 'conda' , 'run' , '-p' , 'envPrefix' , '--no-capture-output' , 'python' , OUTPUT_MARKER_SCRIPT ] ,
495492 'Incorrect args for case 2' ,
496493 ) ;
497494 } ) ;
0 commit comments