Remove assert for "reprec" because this is no longer set on the pluginmanager

It seems this has no effect since `pluggy` was developed as a separate
library.
This commit is contained in:
Bruno Oliveira 2018-08-25 20:31:18 -03:00
parent 01df368d93
commit 10f21b423a
1 changed files with 0 additions and 1 deletions

View File

@ -525,7 +525,6 @@ class Testdir(object):
def make_hook_recorder(self, pluginmanager):
"""Create a new :py:class:`HookRecorder` for a PluginManager."""
assert not hasattr(pluginmanager, "reprec")
pluginmanager.reprec = reprec = HookRecorder(pluginmanager)
self.request.addfinalizer(reprec.finish_recording)
return reprec