You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Code lenses for tests not showing up when test is defined on line 1 #3062
changed the title [-]Code lenses for tests not showing up for pytest[/-][+]Code lenses for tests not showing up when test is defined on line 1[/+]on Nov 1, 2018
Activity
DonJayamanne commentedon Oct 31, 2018
What's in your settings.json?
I'm after your pytests settings
brettcannon commentedon Oct 31, 2018
Used the test setup flow and chose '.' as the test location.
brettcannon commentedon Nov 1, 2018
brettcannon commentedon Nov 1, 2018
Turns out that the code lens will show up as long as the test definition does not start on line 1.
brettcannon commentedon Nov 1, 2018
[-]Code lenses for tests not showing up for pytest[/-][+]Code lenses for tests not showing up when test is defined on line 1[/+]kimadeline commentedon Jul 29, 2021
Fixed by #16769, we don't have code lenses anymore, and the new test icons show up even if the test is defined on the first line: