summaryrefslogtreecommitdiff
path: root/pytest.py
diff options
context:
space:
mode:
authorholger krekel <holger@merlinux.eu>2010-11-21 23:17:59 +0100
committerholger krekel <holger@merlinux.eu>2010-11-21 23:17:59 +0100
commitbc42cf8ffbc72a702b3e4e1dd040d39138e1b715 (patch)
treed2b5c9c87aab38af089f96979b0a3e3a7ada58d3 /pytest.py
parentf456e376b99722f8e094ac52698e0fa9252ae686 (diff)
downloadpytest-bc42cf8ffbc72a702b3e4e1dd040d39138e1b715.tar.gz
add a way to mark hooks as "tryfirst" or "trylast" to influence its position in a hook chain.
Use 'tryfirst' for capturing hooks so they can start capturing as early as possible, including when conftests add output in runtest_setup hooks.
Diffstat (limited to 'pytest.py')
-rw-r--r--pytest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pytest.py b/pytest.py
index 8cc9ec5fa..e553791b7 100644
--- a/pytest.py
+++ b/pytest.py
@@ -5,7 +5,7 @@ see http://pytest.org for documentation and details
(c) Holger Krekel and others, 2004-2010
"""
-__version__ = '2.0.0.dev31'
+__version__ = '2.0.0.dev32'
__all__ = ['main']
from _pytest.core import main, UsageError, _preloadplugins