File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -324,7 +324,8 @@ suite('Python API Tests', () => {
324324
325325 const result = await pythonApi . getInterpreterDetails ( ) ;
326326
327- expect ( result . path ) . to . deep . equal ( [ pythonPath ] ) ;
327+ // Use Uri.file().fsPath to get platform-normalized path for comparison
328+ expect ( result . path ) . to . deep . equal ( [ Uri . file ( pythonPath ) . fsPath ] ) ;
328329 expect ( result . resource ) . to . be . undefined ;
329330 } ) ;
330331
@@ -342,7 +343,8 @@ suite('Python API Tests', () => {
342343
343344 const result = await pythonApi . getInterpreterDetails ( resource ) ;
344345
345- expect ( result . path ) . to . deep . equal ( [ pythonPath ] ) ;
346+ // Use Uri.file().fsPath to get platform-normalized path for comparison
347+ expect ( result . path ) . to . deep . equal ( [ Uri . file ( pythonPath ) . fsPath ] ) ;
346348 expect ( result . resource ) . to . deep . equal ( resource ) ;
347349 } ) ;
348350
You can’t perform that action at this time.
0 commit comments