Skip to content

Test: Improvements to "No Python interpreter" selected prompts #19550

Closed
@karrtikr

Description

@karrtikr

Refs: #17667

Complexity: 3

Create Issue


Requirements:

  • Access to a machine with no Python installed, maybe a devcontainer for linux.
  • Pre-release version of the Python extension installed

Steps:

Case 1: No Python installed

  • Open a Python file, and use button on top right to run it:
    image
  • Verify the following prompt shows up:
    image
  • Verify clicking Select Interpreter opens the quickpick saying:
    image

Case 2: Invalid Python selected

  • Have Python installed.
  • Select an invalid interpreter. You can use Python: Select Interpreter command and choose Enter interpreter path... item.
  • Verify following prompt shows up on running Python file in this case:
    image

Case 3: Invalid Python selected: multiroot scenario with multiple workspace folders opened

  • In this case verify the prompt message describes the workspace folder affected:
    image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions