[pypy-commit] pypy default: mark the xdist hooks of pytest_cov optional

RonnyPfannschmidt noreply at buildbot.pypy.org
Fri Jul 22 00:24:53 CEST 2011


Author: Ronny Pfannschmidt <Ronny.Pfannschmidt at gmx.de>
Branch: 
Changeset: r45848:e16267c17fb1
Date: 2011-07-22 00:21 +0200
http://bitbucket.org/pypy/pypy/changeset/e16267c17fb1/

Log:	mark the xdist hooks of pytest_cov optional

diff --git a/pytest_cov.py b/pytest_cov.py
--- a/pytest_cov.py
+++ b/pytest_cov.py
@@ -323,11 +323,13 @@
         """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."""


More information about the pypy-commit mailing list