I'm having the same issue as this guy from a while back on vscode-go, but with the Python extension:
Hi,
just a minor nit -- is there any way to disable these two links?

When writing tests, these lines show up when the code is OK, but they disappear every time there's a syntax error - effectively every time I save a _test.go file that doesn't compile.
The showing up / hiding causes the code to jump up and down and it gets too much of my attention and slows me down.
The code jumping up and down while I type kind of makes me seasick. Is there any way to disable just this one codelens for Python tests (or tests in general, for that matter)? There's always:
but that disables all code lenses everywhere, which is less than ideal.
I'm having the same issue as this guy from a while back on vscode-go, but with the Python extension:
The code jumping up and down while I type kind of makes me seasick. Is there any way to disable just this one codelens for Python tests (or tests in general, for that matter)? There's always:
but that disables all code lenses everywhere, which is less than ideal.