(info?: Partial<PythonEnvironment>)
| 13 | * @returns {PythonEnvironment} |
| 14 | */ |
| 15 | export function createPythonInterpreter(info?: Partial<PythonEnvironment>): PythonEnvironment { |
| 16 | const rnd = new Date().getTime().toString(); |
| 17 | return { |
| 18 | id: Uri.file(`somePath${rnd}`).path, |
| 19 | uri: Uri.file(`somePath${rnd}`), |
| 20 | ...(info || {}) |
| 21 | }; |
| 22 | } |
no test coverage detected