Skip to content

Commit 433fe63

Browse files
committed
paths with spaces
1 parent 787ecc1 commit 433fe63

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/test/unittest/common/python.unit.test.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,8 @@ suite('Python API Tests', () => {
346346
expect(result.resource).to.deep.equal(resource);
347347
});
348348

349-
test('Should quote path with spaces', async () => {
349+
test('Should not quote path with spaces', async () => {
350+
// this should be updated when we fix the quoting logic in getInterpreterDetails
350351
const pythonPath = '/path with spaces/python3';
351352
const mockUri = {
352353
fsPath: pythonPath,
@@ -362,7 +363,7 @@ suite('Python API Tests', () => {
362363

363364
const result = await pythonApi.getInterpreterDetails();
364365

365-
expect(result.path).to.deep.equal([`"${pythonPath}"`]);
366+
expect(result.path).to.deep.equal([`${pythonPath}`]);
366367
});
367368

368369
test('Should not double-quote already quoted path', async () => {

0 commit comments

Comments
 (0)