diff options
author | Ken Harris <kengruven@gmail.com> | 2015-09-24 09:01:15 -0700 |
---|---|---|
committer | Ken Harris <kengruven@gmail.com> | 2015-09-24 09:01:15 -0700 |
commit | 17ebf681d223ba234a5c78ae1e400c74b130d368 (patch) | |
tree | f8755f3bea07ddf980e704312c9e05a55db2be88 /nose/config.py | |
parent | a25c9d62e6f05932872010cb39d101179f20181f (diff) | |
download | nose-17ebf681d223ba234a5c78ae1e400c74b130d368.tar.gz |
Update Config class docstring for 'testMatch'
Diffstat (limited to 'nose/config.py')
-rw-r--r-- | nose/config.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nose/config.py b/nose/config.py index 72554a5..5997aaf 100644 --- a/nose/config.py +++ b/nose/config.py @@ -147,7 +147,7 @@ class Config(object): self.env = env = kw.pop('env', {}) self.args = () - self.testMatch = re.compile(r'(?:\b|_)[Tt]est') + self.testMatch = re.compile(env.get('NOSE_TESTMATCH', r'(?:\b|_)[Tt]est')) self.addPaths = not env.get('NOSE_NOPATH', False) self.configSection = 'nosetests' self.debug = env.get('NOSE_DEBUG') |