Skip to content

Commit e77591e

Browse files
fraserstarknicoddemus
authored andcommitted
changing parent class of PytestReturnNotNoneWarning
1 parent e787d2e commit e77591e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

AUTHORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ Feng Ma
143143
Florian Bruhin
144144
Florian Dahlitz
145145
Floris Bruynooghe
146+
Fraser Stark
146147
Gabriel Landau
147148
Gabriel Reis
148149
Garvit Shubham

src/_pytest/warning_types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ class PytestRemovedIn9Warning(PytestDeprecationWarning):
6161
__module__ = "pytest"
6262

6363

64-
class PytestReturnNotNoneWarning(PytestRemovedIn8Warning):
64+
class PytestReturnNotNoneWarning(PytestWarning):
6565
"""Warning emitted when a test function is returning value other than None."""
6666

6767
__module__ = "pytest"

0 commit comments

Comments
 (0)