Skip to content

Commit 4322684

Browse files
authored
Remove env var collection related debris in pythonStartup test (#24739)
Resolves: #24738 See explanation there.
1 parent 25411e5 commit 4322684

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/test/terminals/shellIntegration/pythonStartup.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ suite('Terminal - Shell Integration with PYTHONSTARTUP', () => {
3333
setup(() => {
3434
context = TypeMoq.Mock.ofType<IExtensionContext>();
3535
globalEnvironmentVariableCollection = TypeMoq.Mock.ofType<GlobalEnvironmentVariableCollection>();
36-
// Question: Why do we have to set up environmentVariableCollection and globalEnvironmentVariableCollection in this flip-flop way?
37-
// Reference: /vscode-python/src/test/interpreters/activation/terminalEnvVarCollectionService.unit.test.ts
3836
context.setup((c) => c.environmentVariableCollection).returns(() => globalEnvironmentVariableCollection.object);
3937
context.setup((c) => c.storageUri).returns(() => Uri.parse('a'));
4038

0 commit comments

Comments
 (0)