summaryrefslogtreecommitdiff
path: root/nose/suite.py
diff options
context:
space:
mode:
authorJason Pellerin <jpellerin@gmail.com>2007-04-26 21:23:33 +0000
committerJason Pellerin <jpellerin@gmail.com>2007-04-26 21:23:33 +0000
commitdc9933d4aab947c45b8eb352704bbfc54d63e4e1 (patch)
tree28c2f6c46dee74c4849711bbbfc41bc0f08789b6 /nose/suite.py
parent923db53bd898ed40db73740a45668b0df48c8821 (diff)
downloadnose-dc9933d4aab947c45b8eb352704bbfc54d63e4e1.tar.gz
Removed log.debug calls in some inner loops (optimization)
Diffstat (limited to 'nose/suite.py')
-rw-r--r--nose/suite.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/nose/suite.py b/nose/suite.py
index 0626f51..239d7d3 100644
--- a/nose/suite.py
+++ b/nose/suite.py
@@ -38,7 +38,6 @@ class LazySuite(unittest.TestSuite):
__str__ = __repr__
def addTest(self, test):
- log.debug("Adding precached test %s (%s)", test, id(self))
self._precache.append(test)
def __nonzero__(self):
@@ -69,7 +68,6 @@ class LazySuite(unittest.TestSuite):
self._precache = []
is_suite = isinstance(tests, unittest.TestSuite)
if callable(tests) and not is_suite:
- log.debug("tests is callable and not a test suite")
self.test_generator = tests()
elif is_suite:
# Suites need special treatment: they must be called like
@@ -77,7 +75,6 @@ class LazySuite(unittest.TestSuite):
self.addTests([tests])
self.test_generator = None
else:
- log.debug("tests is not callable, spooling it out")
self.addTests(tests)
self.test_generator = None
@@ -139,7 +136,6 @@ class ContextSuite(LazySuite):
if result.shouldStop:
log.debug("stopping")
break
- log.debug("running test %s (%s)", test, id(self))
# each nose.case.Test will create its own result proxy
# so the cases need the original result, to avoid proxy
# chains