We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0983657 commit b4aa112Copy full SHA for b4aa112
python_files/vscode_pytest/__init__.py
@@ -462,6 +462,11 @@ def pytest_sessionfinish(session, exitstatus):
462
except NoSource:
463
# as per issue 24308 this best way to handle this edge case
464
continue
465
+ except Exception as e:
466
+ print(
467
+ f"Plugin error[vscode-pytest]: Skipping analysis of file: {file} due to error: {e}"
468
+ )
469
+ continue
470
lines_executable = {int(line_no) for line_no in analysis[1]}
471
lines_missed = {int(line_no) for line_no in analysis[3]}
472
lines_covered = lines_executable - lines_missed
0 commit comments