From a18a291dee3232a06fb4beae1651eb75a1a5e5fa Mon Sep 17 00:00:00 2001 From: fijal Date: Tue, 14 Aug 2007 17:21:02 +0200 Subject: [PATCH] [svn r45655] Kill unnecessary sanity check --HG-- branch : trunk --- py/test/collect.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/py/test/collect.py b/py/test/collect.py index 70b392867..10114dead 100644 --- a/py/test/collect.py +++ b/py/test/collect.py @@ -46,9 +46,6 @@ class Collector(object): self.name = name self.parent = parent self._config = getattr(parent, '_config', py.test.config) - if parent is not None: - if hasattr(parent, 'config'): - py.test.pdb() self.fspath = getattr(parent, 'fspath', None) Module = configproperty('Module') @@ -333,7 +330,7 @@ class PyCollectorMixin(Collector): raise except: self._name2items_exception = py.std.sys.exc_info() - raise + raise def run(self): self._prepare()