Skip to content

Code lenses for tests not showing up when test is defined on line 1 #3062

@brettcannon

Description

@brettcannon
def test_fake():
    return True

Debug console output:

============================= test session starts =============================
platform win32 -- Python 3.7.0, pytest-3.7.4, py-1.6.0, pluggy-0.7.1
rootdir: c:\Users\brcan\Desktop\testing\some 3.7 bunk, inifile:
collected 1 item
<Module 'test_fake.py'>
  <Function 'test_fake'>

======================== no tests ran in 0.03 seconds =========================

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-testingbugIssue identified by VS Code Team member as probable bugverifiedVerification succeeded

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions