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 addInfo method.

Anders Kaseorg4391234eb352
diff --git a/zerver/lib/test_runner.py b/zerver/lib/test_runner.py
index f71630796ef..ac2e9eb02f5 100644
--- a/zerver/lib/test_runner.py
+++ b/zerver/lib/test_runner.py
@@ -55,10 +55,6 @@ class TextTestResult(runner.TextTestResult):
super().__init__(*args, **kwargs)
self.failed_tests: List[str] = []
- def addInfo(self, test: TestCase, msg: str) -> None:
- self.stream.write(msg)
- self.stream.flush()
-
def addInstrumentation(self, test: TestCase, data: Dict[str, Any]) -> None:
append_instrumentation_data(data)
@@ -94,9 +90,6 @@ class RemoteTestResult(django_runner.RemoteTestResult):
base class.
"""
- def addInfo(self, test: TestCase, msg: str) -> None:
- self.events.append(("addInfo", self.test_index, msg))
-
def addInstrumentation(self, test: TestCase, data: Dict[str, Any]) -> None:
# Some elements of data['info'] cannot be serialized.
if "info" in data: