From d33fe1f90216e24039d5cbd003219543d1671313 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sun, 28 Sep 2014 18:42:30 -0400 Subject: Remove support for COVERAGE_OPTIONS environment variable. --- coverage/config.py | 9 --------- 1 file changed, 9 deletions(-) (limited to 'coverage/config.py') diff --git a/coverage/config.py b/coverage/config.py index 44bf3930..ece68ba8 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): -- cgit v1.2.1