mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 13:33:24 +00:00
python: Use standard NoReturn (Python ≥ 3.6).
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
fbc96d56d5
commit
ca4357fd64
@@ -9,8 +9,7 @@ from django.utils.log import AdminEmailHandler
|
||||
from functools import wraps
|
||||
from unittest.mock import MagicMock, patch
|
||||
from types import TracebackType
|
||||
from typing import Any, Callable, Dict, Iterator, Optional, Tuple, Type
|
||||
from typing_extensions import NoReturn
|
||||
from typing import Any, Callable, Dict, Iterator, NoReturn, Optional, Tuple, Type
|
||||
|
||||
from zerver.lib.types import ViewFuncT
|
||||
from zerver.lib.test_classes import ZulipTestCase
|
||||
|
||||
Reference in New Issue
Block a user