Commits

Ronny Pfannschmidt committed e16267c

mark the xdist hooks of pytest_cov optional

  • Participants
  • Parent commits ff4a90f

Comments (0)

Files changed (1)

File pytest_cov.py

         """Delegate to our implementation."""
 
         self.cov_controller.configure_node(node)
+    pytest_configure_node.optionalhook = True
 
     def pytest_testnodedown(self, node, error):
         """Delegate to our implementation."""
 
         self.cov_controller.testnodedown(node, error)
+    pytest_testnodedown.optionalhook = True
 
     def pytest_sessionfinish(self, session, exitstatus):
         """Delegate to our implementation."""