Skip to content

Commit e43a880

Browse files
committed
Fixes
1 parent 06bb745 commit e43a880

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

src/client/datascience/jupyter/kernels/kernelService.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,6 @@ export class KernelService {
133133
}
134134
}
135135

136-
public getLocalKernelSpecs(cancelToken?: CancellationToken): Promise<IJupyterKernelSpec[]> {
137-
return this.enumerateSpecs(cancelToken);
138-
}
139136
/**
140137
* Registers an interprter as a kernel.
141138
* The assumption is that `ipykernel` has been installed in the interpreter.

src/test/datascience/jupyter/kernels/kernelService.unit.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ suite('Data Science - KernelService', () => {
299299
const promise = kernelService.registerKernel(interpreter);
300300
await assert.isRejected(promise, `kernel.json not created with the name ${installedKernelName}, display_name ${interpreter.displayName}. Output is `);
301301
});
302-
test('xKernel is installed and spec file is updated with interpreter information in metadata and interpreter path in argv', async () => {
302+
test('Kernel is installed and spec file is updated with interpreter information in metadata and interpreter path in argv', async () => {
303303
when(kernelCreateCmd.exec(deepEqual(kernelInstallArgs), anything())).thenResolve({ stdout: '' });
304304

305305
const kernel = new JupyterKernelSpec(kernelSpecModel, kernelJsonFile);

0 commit comments

Comments
 (0)