Updated coverage.py to 4.5.4.

Fri, 27 Sep 2019 10:56:04 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Fri, 27 Sep 2019 10:56:04 +0200
changeset 7275
9a25fe1fab84
parent 7274
81e450f9d314
child 7276
25c93adb5de9

Updated coverage.py to 4.5.4.

docs/changelog file | annotate | diff | comparison | revisions
eric6/DebugClients/Python/coverage/env.py file | annotate | diff | comparison | revisions
eric6/DebugClients/Python/coverage/multiproc.py file | annotate | diff | comparison | revisions
eric6/DebugClients/Python/coverage/version.py file | annotate | diff | comparison | revisions
--- a/docs/changelog	Thu Sep 26 17:58:32 2019 +0200
+++ b/docs/changelog	Fri Sep 27 10:56:04 2019 +0200
@@ -11,6 +11,8 @@
 - QFileDialog Wizard:
   -- added support for the QFileDialog.get...Url() methods
   -- added support for E5FileDialog
+- Third Party packages
+  -- updated coverage.py to 4.5.4
 
 Version 19.9:
 - bug fixes
--- a/eric6/DebugClients/Python/coverage/env.py	Thu Sep 26 17:58:32 2019 +0200
+++ b/eric6/DebugClients/Python/coverage/env.py	Fri Sep 27 10:56:04 2019 +0200
@@ -28,6 +28,9 @@
 class PYBEHAVIOR(object):
     """Flags indicating this Python's behavior."""
 
+    # Is "if not __debug__" optimized away even better?
+    optimize_if_not_debug2 = (not PYPY) and (PYVERSION >= (3, 8, 0, 'beta', 1))
+
     # When a break/continue/return statement in a try block jumps to a finally
     # block, does the finally block do the break/continue/return (pre-3.8), or
     # does the finally jump back to the break/continue/return (3.8) to do the
--- 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")
--- a/eric6/DebugClients/Python/coverage/version.py	Thu Sep 26 17:58:32 2019 +0200
+++ b/eric6/DebugClients/Python/coverage/version.py	Fri Sep 27 10:56:04 2019 +0200
@@ -5,7 +5,7 @@
 # This file is exec'ed in setup.py, don't import anything!
 
 # Same semantics as sys.version_info.
-version_info = (4, 5, 2, 'final', 0)
+version_info = (4, 5, 4, 'final', 0)
 
 
 def _make_version(major, minor, micro, releaselevel, serial):

eric ide

mercurial