eric6/DebugClients/Python/coverage/multiproc.py

changeset 7275
9a25fe1fab84
parent 6942
2602857055c5
child 7427
362cd1b6f81a
--- a/eric6/DebugClients/Python/coverage/multiproc.py	Thu Sep 26 17:58:32 2019 +0200
+++ b/eric6/DebugClients/Python/coverage/multiproc.py	Fri Sep 27 10:56:04 2019 +0200
@@ -28,7 +28,7 @@
 class ProcessWithCoverage(OriginalProcess):
     """A replacement for multiprocess.Process that starts coverage."""
 
-    def _bootstrap(self):
+    def _bootstrap(self, *args, **kwargs):          # pylint: disable=arguments-differ
         """Wrapper around _bootstrap to start coverage."""
         from coverage import Coverage       # avoid circular import
         rcfile = os.environ[COVERAGE_RCFILE_ENV]
@@ -38,7 +38,7 @@
         try:
             if debug.should("multiproc"):
                 debug.write("Calling multiprocessing bootstrap")
-            return original_bootstrap(self)
+            return original_bootstrap(self, *args, **kwargs)
         finally:
             if debug.should("multiproc"):
                 debug.write("Finished multiprocessing bootstrap")

eric ide

mercurial