remove memoizedcall in Module

This commit is contained in:
Ronny Pfannschmidt 2016-08-27 12:53:18 +02:00
parent 98ac1dd34b
commit e572c16d3f
1 changed files with 2 additions and 1 deletions

View File

@ -397,8 +397,9 @@ def transfer_markers(funcobj, cls, mod):
class Module(pytest.File, PyCollector):
""" Collector for test classes and functions. """
def _getobj(self):
return self._memoizedcall('_obj', self._importtestmodule)
return self._importtestmodule()
def collect(self):
self.session._fixturemanager.parsefactories(self)