diff --git a/zerver/tests/test_validators.py b/zerver/tests/test_validators.py index 9892e92a97..117ae07db9 100644 --- a/zerver/tests/test_validators.py +++ b/zerver/tests/test_validators.py @@ -1,5 +1,5 @@ import re -from typing import TYPE_CHECKING, Any, Dict, List, Tuple +from typing import Any, Dict, List, Tuple from django.conf import settings from django.core.exceptions import ValidationError @@ -34,9 +34,6 @@ from zerver.lib.validator import ( if settings.ZILENCER_ENABLED: pass -if TYPE_CHECKING: - pass - class ValidatorTestCase(ZulipTestCase): def test_check_string(self) -> None: