summaryrefslogtreecommitdiff
path: root/nose/config.py
diff options
context:
space:
mode:
authorJason Pellerin <jpellerin@gmail.com>2007-04-13 21:07:53 +0000
committerJason Pellerin <jpellerin@gmail.com>2007-04-13 21:07:53 +0000
commitac5a144a71cb65ef148e345ce3da60ec289aa14a (patch)
tree35700e9a30e5340f5d6c7c2d09d22ebff96adf28 /nose/config.py
parentaf063f4bdba154b769f3df8a9e9b7cd0d6222667 (diff)
downloadnose-ac5a144a71cb65ef148e345ce3da60ec289aa14a.tar.gz
Implemented assert inspection as a plugin.
Diffstat (limited to 'nose/config.py')
-rw-r--r--nose/config.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/nose/config.py b/nose/config.py
index 352e25f..8319425 100644
--- a/nose/config.py
+++ b/nose/config.py
@@ -43,7 +43,6 @@ class Config(object):
self.testMatch = re.compile(r'(?:^|[\b_\.%s-])[Tt]est' % os.sep)
self.addPaths = not env.get('NOSE_NOPATH', False)
self.configSection = 'nosetests'
- self.detailedErrors = env.get('NOSE_DETAILED_ERRORS', False)
self.debug = env.get('NOSE_DEBUG')
self.debugLog = env.get('NOSE_DEBUG_LOG')
self.exclude = None
@@ -130,7 +129,6 @@ class Config(object):
self.configureLogging(options)
self.addPaths = options.addPaths
- self.detailedErrors = options.detailedErrors
self.stopOnError = options.stopOnError
self.verbosity = options.verbosity
self.includeExe = options.includeExe
@@ -213,12 +211,6 @@ class Config(object):
help="Also run tests that match regular "
"expression [NOSE_INCLUDE]")
parser.add_option(
- "-d", "--detailed-errors", action="store_true",
- default=self.detailedErrors,
- dest="detailedErrors", help="Add detail to error"
- " output by attempting to evaluate failed"
- " asserts [NOSE_DETAILED_ERRORS]")
- parser.add_option(
"-x", "--stop", action="store_true", dest="stopOnError",
default=self.stopOnError,
help="Stop running tests after the first error or failure")