mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 04:53:36 +00:00
mypy: Use Python 3 syntax for typing in test_runner.py
This commit is contained in:
committed by
Tim Abbott
parent
7ed76eeb23
commit
008e250668
@@ -434,9 +434,10 @@ class Runner(DiscoverRunner):
|
||||
break
|
||||
check_import_error(test_name)
|
||||
|
||||
def run_tests(self, test_labels, extra_tests=None,
|
||||
full_suite=False, **kwargs):
|
||||
# type: (List[str], Optional[List[TestCase]], bool, **Any) -> Tuple[bool, List[str]]
|
||||
def run_tests(self, test_labels: List[str],
|
||||
extra_tests: Optional[List[TestCase]]=None,
|
||||
full_suite: bool=False,
|
||||
**kwargs: Any) -> Tuple[bool, List[str]]:
|
||||
self.setup_test_environment()
|
||||
try:
|
||||
suite = self.build_suite(test_labels, extra_tests)
|
||||
|
||||
Reference in New Issue
Block a user