Open
Description
The root cause of my observations in #24307 (which still deserves its own solution IMHO) is nedbat/coveragepy#1392. Unfortunately, configuring omit
alone does not help because this code snipped does not consider it:
vscode-python/python_files/vscode_pytest/__init__.py
Lines 432 to 448 in e8dd8c0
cov._check_include_omit_etc
being private, the extension cannot really know what to check. So I propose replacing
by
try:
analysis = cov.analysis2(file)
except NoSource:
continue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment