diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2014-09-28 18:42:30 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2014-09-28 18:42:30 -0400 |
commit | 4de55988b9c873626712db0b83c494be246409a6 (patch) | |
tree | 2a8c0a12f0560da62182379c64c2d4244ea38e4c /coverage/config.py | |
parent | 34cbac69384957a1a41667d0c3ea098f70993cc9 (diff) | |
download | python-coveragepy-4de55988b9c873626712db0b83c494be246409a6.tar.gz |
Remove support for COVERAGE_OPTIONS environment variable.
Diffstat (limited to 'coverage/config.py')
-rw-r--r-- | coverage/config.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/coverage/config.py b/coverage/config.py index 44bf393..ece68ba 100644 --- a/coverage/config.py +++ b/coverage/config.py @@ -173,15 +173,6 @@ class CoverageConfig(object): # Options for plugins self.plugin_options = {} - def from_environment(self, env_var): - """Read configuration from the `env_var` environment variable.""" - # Timidity: for nose users, read an environment variable. This is a - # cheap hack, since the rest of the command line arguments aren't - # recognized, but it solves some users' problems. - env = os.environ.get(env_var, '') - if env: - self.timid = ('--timid' in env) - MUST_BE_LIST = ["omit", "include", "debug", "plugins"] def from_args(self, **kwargs): |