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:
		
							parent
							
								
									01df368d93
								
							
						
					
					
						commit
						10f21b423a
					
				| 
						 | 
					@ -525,7 +525,6 @@ class Testdir(object):
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def make_hook_recorder(self, pluginmanager):
 | 
					    def make_hook_recorder(self, pluginmanager):
 | 
				
			||||||
        """Create a new :py:class:`HookRecorder` for a PluginManager."""
 | 
					        """Create a new :py:class:`HookRecorder` for a PluginManager."""
 | 
				
			||||||
        assert not hasattr(pluginmanager, "reprec")
 | 
					 | 
				
			||||||
        pluginmanager.reprec = reprec = HookRecorder(pluginmanager)
 | 
					        pluginmanager.reprec = reprec = HookRecorder(pluginmanager)
 | 
				
			||||||
        self.request.addfinalizer(reprec.finish_recording)
 | 
					        self.request.addfinalizer(reprec.finish_recording)
 | 
				
			||||||
        return reprec
 | 
					        return reprec
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue