[svn r45655] Kill unnecessary sanity check
--HG-- branch : trunk
This commit is contained in:
parent
2b39cfd09c
commit
a18a291dee
|
@ -46,9 +46,6 @@ class Collector(object):
|
||||||
self.name = name
|
self.name = name
|
||||||
self.parent = parent
|
self.parent = parent
|
||||||
self._config = getattr(parent, '_config', py.test.config)
|
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)
|
self.fspath = getattr(parent, 'fspath', None)
|
||||||
|
|
||||||
Module = configproperty('Module')
|
Module = configproperty('Module')
|
||||||
|
@ -333,7 +330,7 @@ class PyCollectorMixin(Collector):
|
||||||
raise
|
raise
|
||||||
except:
|
except:
|
||||||
self._name2items_exception = py.std.sys.exc_info()
|
self._name2items_exception = py.std.sys.exc_info()
|
||||||
raise
|
raise
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
self._prepare()
|
self._prepare()
|
||||||
|
|
Loading…
Reference in New Issue