Skip to content

Commit

Permalink
add link leading to coveragepy reporting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
BurnzZ committed Feb 3, 2025
1 parent 91d6cbe commit 312d9ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/private/python_bootstrap_template.txt
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,7 @@ relative_files = True
kparams['stderr'] = sys.stderr

# Prevent coveragepy report issues when packages execute files in tmp dir.
# See https://github.com/nedbat/coveragepy/issues/1921#issuecomment-2629154773.
import tempfile
omit_pattern = os.path.join(tempfile.gettempdir(), "*")
params.append(f'--omit={omit_pattern}')
Expand Down

0 comments on commit 312d9ad

Please sign in to comment.