eric7/DebugClients/Python/coverage/multiproc.py

branch
eric7
changeset 8991
2fc945191992
parent 8775
0802ae193343
equal deleted inserted replaced
8990:ca8e477c590c 8991:2fc945191992
25 25
26 def _bootstrap(self, *args, **kwargs): 26 def _bootstrap(self, *args, **kwargs):
27 """Wrapper around _bootstrap to start coverage.""" 27 """Wrapper around _bootstrap to start coverage."""
28 try: 28 try:
29 from coverage import Coverage # avoid circular import 29 from coverage import Coverage # avoid circular import
30 cov = Coverage(data_suffix=True) 30 cov = Coverage(data_suffix=True, auto_data=True)
31 cov._warn_preimported_source = False 31 cov._warn_preimported_source = False
32 cov.start() 32 cov.start()
33 debug = cov._debug 33 debug = cov._debug
34 if debug.should("multiproc"): 34 if debug.should("multiproc"):
35 debug.write("Calling multiprocessing bootstrap") 35 debug.write("Calling multiprocessing bootstrap")

eric ide

mercurial