diff options
| author | Barry Warsaw | 2014-11-16 16:28:05 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2014-11-16 16:28:05 -0500 |
| commit | a7d5b481c47e561ee3e27bae262e6722420f847a (patch) | |
| tree | 02893c625e4c1d14bda8023cd7e1ffb039b1faad /src/mailman/bin/runner.py | |
| parent | 26fe2c0d37d4da51dbda077cdf46a4cd6cec22a5 (diff) | |
| download | mailman-a7d5b481c47e561ee3e27bae262e6722420f847a.tar.gz mailman-a7d5b481c47e561ee3e27bae262e6722420f847a.tar.zst mailman-a7d5b481c47e561ee3e27bae262e6722420f847a.zip | |
Diffstat (limited to 'src/mailman/bin/runner.py')
| -rw-r--r-- | src/mailman/bin/runner.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mailman/bin/runner.py b/src/mailman/bin/runner.py index 76da0364f..7648ed961 100644 --- a/src/mailman/bin/runner.py +++ b/src/mailman/bin/runner.py @@ -42,6 +42,12 @@ from mailman.version import MAILMAN_VERSION_FULL log = None +# Enable coverage if run under the appropriate test suite. +if os.environ.get('COVERAGE_PROCESS_START') is not None: + import coverage + coverage.process_startup() + + class ROptionAction(argparse.Action): """Callback for -r/--runner option.""" |
