File tree Expand file tree Collapse file tree 3 files changed +11
-0
lines changed
Expand file tree Collapse file tree 3 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -1153,6 +1153,9 @@ Custom warnings generated in some situations such as improper usage or deprecate
11531153.. autoclass :: pytest.PytestRemovedIn8Warning
11541154 :show-inheritance:
11551155
1156+ .. autoclass :: pytest.PytestRemovedIn9Warning
1157+ :show-inheritance:
1158+
11561159.. autoclass :: pytest.PytestUnhandledCoroutineWarning
11571160 :show-inheritance:
11581161
Original file line number Diff line number Diff line change @@ -56,6 +56,12 @@ class PytestRemovedIn8Warning(PytestDeprecationWarning):
5656 __module__ = "pytest"
5757
5858
59+ class PytestRemovedIn9Warning (PytestDeprecationWarning ):
60+ """Warning class for features that will be removed in pytest 9."""
61+
62+ __module__ = "pytest"
63+
64+
5965class PytestReturnNotNoneWarning (PytestRemovedIn8Warning ):
6066 """Warning emitted when a test function is returning value other than None."""
6167
Original file line number Diff line number Diff line change 7171from _pytest .warning_types import PytestDeprecationWarning
7272from _pytest .warning_types import PytestExperimentalApiWarning
7373from _pytest .warning_types import PytestRemovedIn8Warning
74+ from _pytest .warning_types import PytestRemovedIn9Warning
7475from _pytest .warning_types import PytestReturnNotNoneWarning
7576from _pytest .warning_types import PytestUnhandledCoroutineWarning
7677from _pytest .warning_types import PytestUnhandledThreadExceptionWarning
131132 "PytestDeprecationWarning" ,
132133 "PytestExperimentalApiWarning" ,
133134 "PytestRemovedIn8Warning" ,
135+ "PytestRemovedIn9Warning" ,
134136 "PytestReturnNotNoneWarning" ,
135137 "Pytester" ,
136138 "PytestPluginManager" ,
You can’t perform that action at this time.
0 commit comments