Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

test_runner: Remove unused ReturnT variable.

Anders Kaseorg3d917ddfdecc
diff --git a/zerver/lib/test_runner.py b/zerver/lib/test_runner.py
index 073fba0797b..a1ae6ba8369 100644
--- a/zerver/lib/test_runner.py
+++ b/zerver/lib/test_runner.py
@@ -5,7 +5,7 @@ import sys
import unittest
from functools import partial
from multiprocessing.sharedctypes import Synchronized
-from typing import Any, Callable, Dict, List, Optional, Set, Tuple, Type, TypeVar, Union
+from typing import Any, Callable, Dict, List, Optional, Set, Tuple, Type, Union
from unittest import loader, runner
from unittest.result import TestResult
@@ -46,8 +46,6 @@ TEST_RUN_DIR = get_or_create_dev_uuid_var_path(
_worker_id = 0 # Used to identify the worker process.
-ReturnT = TypeVar('ReturnT') # Constrain return type to match
-
def full_test_name(test: TestCase) -> str:
test_module = test.__module__
test_class = test.__class__.__name__