mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 14:03:30 +00:00 
			
		
		
		
	mypy: assert Popen.stdout based on API, in tools/lint.
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							e772e89fe2
						
					
				
				
					commit
					f96f71e439
				
			@@ -135,6 +135,7 @@ def run():
 | 
			
		||||
                                 stdout=subprocess.PIPE,
 | 
			
		||||
                                 stderr=subprocess.STDOUT)
 | 
			
		||||
 | 
			
		||||
            assert p.stdout  # use of subprocess.PIPE indicates non-None
 | 
			
		||||
            for line in iter(p.stdout.readline, b''):
 | 
			
		||||
                print_err(name, color, line)
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user