summaryrefslogtreecommitdiff
path: root/coverage/config.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2014-01-09 21:25:42 -0500
committerNed Batchelder <ned@nedbatchelder.com>2014-01-09 21:25:42 -0500
commit442a0ba30c5c803e649331d8c6e1e449fcc1a161 (patch)
tree3b16654a7aefe3b688164ba7da19cd9a81be8f14 /coverage/config.py
parent521be8203abbcb8308311dd1584b311e5b476f1a (diff)
downloadpython-coveragepy-git-442a0ba30c5c803e649331d8c6e1e449fcc1a161.tar.gz
Peter Portante's coroutine support, but it doesn't work yet.
Diffstat (limited to 'coverage/config.py')
-rw-r--r--coverage/config.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/coverage/config.py b/coverage/config.py
index 6223afda..60ec3f41 100644
--- a/coverage/config.py
+++ b/coverage/config.py
@@ -106,6 +106,7 @@ class CoverageConfig(object):
# Defaults for [run]
self.branch = False
+ self.coroutine = None
self.cover_pylib = False
self.data_file = ".coverage"
self.parallel = False
@@ -177,6 +178,7 @@ class CoverageConfig(object):
CONFIG_FILE_OPTIONS = [
# [run]
('branch', 'run:branch', 'boolean'),
+ ('coroutine', 'run:coroutine'),
('cover_pylib', 'run:cover_pylib', 'boolean'),
('data_file', 'run:data_file'),
('debug', 'run:debug', 'list'),