From 175d0c745056543971f7a16c9c035712da1b445d Mon Sep 17 00:00:00 2001 From: Cheukting Date: Sun, 15 May 2022 09:45:42 +0100 Subject: [PATCH] import NoReturnWarning --- src/pytest/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pytest/__init__.py b/src/pytest/__init__.py index 777d37740..c1634e296 100644 --- a/src/pytest/__init__.py +++ b/src/pytest/__init__.py @@ -69,6 +69,7 @@ from _pytest.warning_types import PytestConfigWarning from _pytest.warning_types import PytestDeprecationWarning from _pytest.warning_types import PytestExperimentalApiWarning from _pytest.warning_types import PytestRemovedIn8Warning +from _pytest.warning_types import PytestReturnNotNoneWarning from _pytest.warning_types import PytestUnhandledCoroutineWarning from _pytest.warning_types import PytestUnhandledThreadExceptionWarning from _pytest.warning_types import PytestUnknownMarkWarning @@ -127,6 +128,7 @@ __all__ = [ "PytestDeprecationWarning", "PytestExperimentalApiWarning", "PytestRemovedIn8Warning", + "PytestReturnNotNoneWarning", "Pytester", "PytestPluginManager", "PytestUnhandledCoroutineWarning",