8000 Add a note for this warning disable. · pytest-dev/pytest-cov@8964ab7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8964ab7

Browse files
committed
Add a note for this warning disable.
1 parent e932e41 commit 8964ab7

File tree

1 file changed

+1
- file changed
+1
-0
lines changed

src/pytest_cov/engine.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,7 @@ def start(self):
450450
data_suffix=_data_suffix(f'w{self.nodeid}'),
451451
config_file=self.cov_config,
452452
)
453+
# Prevent workers from issuing module-not-measured type of warnings (expected for a workers to not have coverage in all the files).
453454
self.cov._warn_unimported_source = False
454455
self.cov.start()
455456
self.set_env()

0 commit comments

Comments
 (0)
0