diff --git a/src/_pytest/warning_types.py b/src/_pytest/warning_types.py index 20f9d3256..817e2e404 100644 --- a/src/_pytest/warning_types.py +++ b/src/_pytest/warning_types.py @@ -54,7 +54,6 @@ class PytestRemovedIn8Warning(PytestDeprecationWarning): __module__ = "pytest" -@sealed class PytestReturnNotNoneWarning(PytestRemovedIn8Warning): """Warning emitted when a test function is returning value other than None."""