diff options
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') |