mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	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:
		
				
					committed by
					
						
						Anders Kaseorg
					
				
			
			
				
	
			
			
			
						parent
						
							f27a709a5e
						
					
				
				
					commit
					4391234eb3
				
			@@ -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:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user