test_runner: Remove unused addInfo method.

It’s unused since commit 92d0290dc5
(#15629).

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2022-07-05 12:47:05 -07:00 committed by Anders Kaseorg
parent f27a709a5e
commit 4391234eb3
1 changed files with 0 additions and 7 deletions

View File

@ -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: