Skip to content

Commit e932e41

Browse files
webknjazionelmc
authored andcommitted
Prevent unimported warnings @ pytest-xdist workers
Ref #693
1 parent 573379b commit e932e41

File tree

1 file changed

+1
-0
lines 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+
self.cov._warn_unimported_source = False
453454
self.cov.start()
454455
self.set_env()
455456
super().start()

0 commit comments

Comments
 (0)