Skip to content

Commit

Permalink
Drop coverage of now-old, proven code in favor of covering the newer …
Browse files Browse the repository at this point in the history
…version.
  • Loading branch information
CleanCut committed Jul 16, 2021
1 parent ac9cd5f commit 5562564
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions green/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def __call__(self, *args, **kwargs):
# 3.5.0a4+ of the main python mercurial repository. Then altered it to run
# on 2.7+ and added the finalizer/finalargs parameter handling. This approach
# worked until we hit Python 3.8, when it broke.
class LoggingDaemonlessPool37(Pool):
class LoggingDaemonlessPool37(Pool): # pragma: no cover
"""
I make a pool of workers which can get crash output to the logger, run processes not as daemons,
and which run finalizers...in a way which works on Python 2.7 to 3.7, inclusive.
Expand Down Expand Up @@ -216,7 +216,7 @@ def _repopulate_pool_static(


LoggingDaemonlessPool = LoggingDaemonlessPool38
if tuple(map(int, platform.python_version_tuple()[:2])) < (3, 8):
if tuple(map(int, platform.python_version_tuple()[:2])) < (3, 8): # pragma: no cover
LoggingDaemonlessPool = LoggingDaemonlessPool37

import platform
Expand Down

0 comments on commit 5562564

Please sign in to comment.