Author: Ronny Pfannschmidt <[email protected]>
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."""
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to