File tree 2 files changed +5
-0
lines changed
2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -77,6 +77,8 @@ Unreleased changes template.
77
77
The related issue is [ #908 ] ( https://github.com/bazelbuild/rules_python/issue/908 ) .
78
78
* (sphinxdocs) Do not crash when ` tag_class ` does not have a populated ` doc ` value.
79
79
Fixes ([ #2579 ] ( https://github.com/bazelbuild/rules_python/issues/2579 ) ).
80
+ * (coverage) Prevent coveragepy report issues when packages execute files in tmp dir.
81
+ Fixes ([ #2575 ] ( https://github.com/bazelbuild/rules_python/issues/2575 ) ).
80
82
81
83
{#v0-0-0-added}
82
84
### Added
Original file line number Diff line number Diff line change @@ -461,6 +461,9 @@ relative_files = True
461
461
kparams['stdout'] = sys.stderr
462
462
kparams['stderr'] = sys.stderr
463
463
464
+ # Prevent coveragepy report issues when packages execute files in tmp dir.
465
+ params.append('--omit="$TMPDIR/*"')
466
+
464
467
ret_code = subprocess.call(
465
468
params,
466
469
**kparams
You can’t perform that action at this time.
0 commit comments