Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
django_api, test_classes: Use Python 3 form of super().
Anders Kaseorgc5a904fb052a
diff --git a/zerver/lib/test_classes.py b/zerver/lib/test_classes.pyindex 7c74dfdbd87..8a10f54c28d 100644--- a/zerver/lib/test_classes.py+++ b/zerver/lib/test_classes.py@@ -123,10 +123,10 @@ class ZulipTestCase(TestCase):def run(self, result: Optional[TestResult]=None) -> Optional[TestResult]: # nocoverageif not settings.BAN_CONSOLE_OUTPUT:- return super(ZulipTestCase, self).run(result)+ return super().run(result)extra_output_finder = ExtraConsoleOutputFinder()with TeeStderrAndFindExtraConsoleOutput(extra_output_finder), TeeStdoutAndFindExtraConsoleOutput(extra_output_finder):- test_result = super(ZulipTestCase, self).run(result)+ test_result = super().run(result)if extra_output_finder.full_extra_output:exception_message = f"""---- UNEXPECTED CONSOLE OUTPUT DETECTED ----diff --git a/zerver/tornado/django_api.py b/zerver/tornado/django_api.pyindex 5ac87dbdb15..c28ede7982a 100644--- a/zerver/tornado/django_api.py+++ b/zerver/tornado/django_api.py@@ -17,7 +17,7 @@ from zerver.tornado.sharding import get_tornado_port, get_tornado_uri, notify_toclass TornadoAdapter(HTTPAdapter):def __init__(self) -> None:retry = Retry(total=3, backoff_factor=1)- super(TornadoAdapter, self).__init__(max_retries=retry)+ super().__init__(max_retries=retry)def send(self,