~sambuddhabasu1/mailman/fix_mailman_run_error

« back to all changes in this revision

Viewing changes to src/mailman/bin/runner.py

  • Committer: Barry Warsaw
  • Date: 2014-11-16 21:28:05 UTC
  • Revision ID: barry@list.org-20141116212805-vizrba3y5s39z0r4
Make sure runner subprocesses get covered during `tox -e coverage`.

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
log = None
43
43
 
44
44
 
 
45
# Enable coverage if run under the appropriate test suite.
 
46
if os.environ.get('COVERAGE_PROCESS_START') is not None:
 
47
    import coverage
 
48
    coverage.process_startup()
 
49
 
 
50
 
45
51
 
46
52
class ROptionAction(argparse.Action):
47
53
    """Callback for -r/--runner option."""