diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2014-10-11 08:06:17 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2014-10-11 08:06:17 -0400 |
commit | 066a693d77b0b950653cf5b577d308da594fa471 (patch) | |
tree | 2bd4fd8628ffb682be8116a4ca0a50f4187012ff /coverage/control.py | |
parent | 99c52f24c5db26a98d77816a3c7ada0f4f7f8797 (diff) | |
download | python-coveragepy-git-066a693d77b0b950653cf5b577d308da594fa471.tar.gz |
Can change config after construction.
Diffstat (limited to 'coverage/control.py')
-rw-r--r-- | coverage/control.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/coverage/control.py b/coverage/control.py index af9cbcc7..7b033793 100644 --- a/coverage/control.py +++ b/coverage/control.py @@ -45,7 +45,7 @@ class Coverage(object): def __init__(self, data_file=None, data_suffix=None, cover_pylib=None, auto_data=False, timid=None, branch=None, config_file=True, source=None, omit=None, include=None, debug=None, - concurrency=None, plugins=None): + concurrency=None): """ `data_file` is the base name of the data file to use, defaulting to ".coverage". `data_suffix` is appended (with a dot) to `data_file` to @@ -88,8 +88,6 @@ class Coverage(object): results. Valid strings are "greenlet", "eventlet", "gevent", or "thread" (the default). - `plugins` TODO. - """ # Build our configuration from a number of sources: # 1: defaults: @@ -121,7 +119,7 @@ class Coverage(object): data_file=data_file, cover_pylib=cover_pylib, timid=timid, branch=branch, parallel=bool_or_none(data_suffix), source=source, omit=omit, include=include, debug=debug, - concurrency=concurrency, plugins=plugins, + concurrency=concurrency, ) self._debug_file = None |