Skip to content

No code lenses shown for pytest #6303

Closed

Description

@xiaofeng0123

Visual Studio Code - Insiders: 1.36.0-insider
python-insider: 2019.6.21464-rc

Repro steps:

  1. Input below code:
def test_passing():
    assert 42 == 42
def test_failure():
    assert 42 == -13
  1. Run tests with pytest framework
  2. Run all tests

Actual Result:
No code lenses shown after run all tests
image

Expect Result:
It should display code lenses

Activity

  1. added
    triage-neededNeeds assignment to the proper sub-team
    bugIssue identified by VS Code Team member as probable bug
    on Jun 24, 2019
  2. brettcannon commented on Jun 24, 2019

    @brettcannon
    Member

    I can verify.

  3. luabud commented on Jun 24, 2019

    @luabud
    Member

    CodeLenses are not showing for me with 2019.7.21668-dev. Works fine with 2019.5.18875

    VS Code 1.35.1

  4. added
    regressionBug didn't exist in a previous release
    and removed
    importantIssue identified as high-priority
    on Jun 24, 2019
  5. ghost removed
    triage-neededNeeds assignment to the proper sub-team
    on Jun 24, 2019
  6. 36 remaining items

  7. ghost added
    triage-neededNeeds assignment to the proper sub-team
    on Jun 12, 2020
  8. brettcannon commented on Jun 12, 2020

    @brettcannon
    Member

    CTI said they ran into this again.

  9. ghost removed
    triage-neededNeeds assignment to the proper sub-team
    on Jun 15, 2020
  10. added
    triage-neededNeeds assignment to the proper sub-team
    and removed
    importantIssue identified as high-priority
    on Jun 15, 2020
  11. karrtikr commented on Jun 17, 2020

    @karrtikr

    Well I'm unable to reproduce this. Maybe they have some extension like liveshare installed, which is known to cause problems with codelenses.

  12. ghost removed on Jun 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions