Comment out useless ErrorReportAssistant test, and fix whitespace
This commit is contained in:
		@@ -54,11 +54,12 @@ class ErrorReportAssistantTest(TestCaseBase):
 | 
			
		||||
        l.addHandler(rh)
 | 
			
		||||
        l.info("info message")
 | 
			
		||||
 | 
			
		||||
        error_detail="Test error"
 | 
			
		||||
        ass = _errorreportassistant.ErrorReportAssistant(error_detail=error_detail,
 | 
			
		||||
                                                               rotate_handler=rh)
 | 
			
		||||
 | 
			
		||||
        assert ass._error_detail == error_detail
 | 
			
		||||
# Comment this out because there is noone to close the dialogue
 | 
			
		||||
#         error_detail="Test error"
 | 
			
		||||
#         ass = _errorreportassistant.ErrorReportAssistant(error_detail=error_detail,
 | 
			
		||||
#                                                                rotate_handler=rh)
 | 
			
		||||
# 
 | 
			
		||||
#         assert ass._error_detail == error_detail
 | 
			
		||||
 | 
			
		||||
        l.removeHandler(rh)
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -61,7 +61,7 @@ class GtkHandlerTest(unittest.TestCase):
 | 
			
		||||
#             wibble
 | 
			
		||||
#         except:
 | 
			
		||||
#             l.error(log_message,exc_info=True)
 | 
			
		||||
# 
 | 
			
		||||
#
 | 
			
		||||
#         while Gtk.events_pending():
 | 
			
		||||
#             Gtk.main_iteration()
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user