mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 12:18:16 +00:00 
			
		
		
		
	fix boilerplate test
Fixed AttributeError: type object '_io.StringIO' has no attribute 'StringIO'
This commit is contained in:
		@@ -40,7 +40,7 @@ class TestBoilerplate(unittest.TestCase):
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        # capture stdout
 | 
					        # capture stdout
 | 
				
			||||||
        old_stdout = sys.stdout
 | 
					        old_stdout = sys.stdout
 | 
				
			||||||
        sys.stdout = StringIO.StringIO()
 | 
					        sys.stdout = StringIO()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        boilerplate.args = Args()
 | 
					        boilerplate.args = Args()
 | 
				
			||||||
        ret = boilerplate.main()
 | 
					        ret = boilerplate.main()
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user