From bd21afe42526507fe94b5103431bb72c678037b9 Mon Sep 17 00:00:00 2001 From: Piotr Kopalko Date: Sun, 5 Nov 2023 12:36:10 +0100 Subject: [PATCH] Fix coverage issues --- falcon/hooks.py | 2 +- falcon/media/handlers.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/falcon/hooks.py b/falcon/hooks.py index dcecc676d..354f0d0e1 100644 --- a/falcon/hooks.py +++ b/falcon/hooks.py @@ -25,7 +25,7 @@ from falcon.util.misc import get_argnames from falcon.util.sync import _wrap_non_coroutine_unsafe -if t.TYPE_CHECKING: +if t.TYPE_CHECKING: # pragma: no cover import falcon as wsgi from falcon import asgi diff --git a/falcon/media/handlers.py b/falcon/media/handlers.py index 736e2bb79..f40f6312b 100644 --- a/falcon/media/handlers.py +++ b/falcon/media/handlers.py @@ -15,7 +15,7 @@ from falcon.util import misc from falcon.vendor import mimeparse -if typing.TYPE_CHECKING: +if typing.TYPE_CHECKING: # pragma: no cover from typing import Mapping from falcon.typing import Serializer