summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Harris <kengruven@gmail.com>2015-09-24 09:01:15 -0700
committerKen Harris <kengruven@gmail.com>2015-09-24 09:01:15 -0700
commit17ebf681d223ba234a5c78ae1e400c74b130d368 (patch)
treef8755f3bea07ddf980e704312c9e05a55db2be88
parenta25c9d62e6f05932872010cb39d101179f20181f (diff)
downloadnose-17ebf681d223ba234a5c78ae1e400c74b130d368.tar.gz
Update Config class docstring for 'testMatch'
-rw-r--r--nose/config.py2
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')