From 2655fe71825e674dcf2b4163141eacbe124b0498 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Thu, 29 Feb 2024 16:58:36 -0800 Subject: [PATCH] ruff: Fix TCH005 Found empty type-checking block. Signed-off-by: Anders Kaseorg --- zerver/tests/test_validators.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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: