diff --git a/setup.cfg b/setup.cfg index a800ae1f9..c9c19704f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -17,7 +17,8 @@ omit = *contrib*, *tnetstring*, *platform*, *main.py show_missing = True exclude_lines = pragma: no cover - raise NotImplementedError() + raise NotImplementedError + raise AssertionError if typing.TYPE_CHECKING: if TYPE_CHECKING: @overload