File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -452,7 +452,7 @@ hook wrappers and passes the same arguments as to the regular hooks.
452
452
453
453
At the yield point of the hook wrapper pytest will execute the next hook
454
454
implementations and return their result to the yield point in the form of
455
- a :py:class: `CallOutcome <pluggy._CallOutcome > ` instance which encapsulates a result or
455
+ a :py:class: `Result <pluggy._Result > ` instance which encapsulates a result or
456
456
exception info. The yield point itself will thus typically not raise
457
457
exceptions (unless there are bugs).
458
458
@@ -517,7 +517,7 @@ Here is the order of execution:
517
517
Plugin1).
518
518
519
519
4. Plugin3's pytest_collection_modifyitems then executing the code after the yield
520
- point. The yield receives a :py:class: `CallOutcome <pluggy._CallOutcome > ` instance which encapsulates
520
+ point. The yield receives a :py:class: `Result <pluggy._Result > ` instance which encapsulates
521
521
the result from calling the non-wrappers. Wrappers shall not modify the result.
522
522
523
523
It's possible to use ``tryfirst `` and ``trylast `` also in conjunction with
@@ -714,7 +714,7 @@ Reference of objects involved in hooks
714
714
:members:
715
715
:inherited-members:
716
716
717
- .. autoclass :: pluggy._CallOutcome()
717
+ .. autoclass :: pluggy._Result
718
718
:members:
719
719
720
720
.. autofunction :: _pytest.config.get_plugin_manager()
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ def main():
53
53
# if _PYTEST_SETUP_SKIP_PLUGGY_DEP is set, skip installing pluggy;
54
54
# used by tox.ini to test with pluggy master
55
55
if '_PYTEST_SETUP_SKIP_PLUGGY_DEP' not in os .environ :
56
- install_requires .append ('pluggy>=0.4.0 ,<0.5 ' )
56
+ install_requires .append ('pluggy>=0.5 ,<0.6 ' )
57
57
if has_environment_marker_support ():
58
58
extras_require [':python_version<"3.0"' ] = ['funcsigs' ]
59
59
extras_require [':sys_platform=="win32"' ] = ['colorama' ]
You can’t perform that action at this time.
0 commit comments