@@ -215,7 +215,7 @@ def plan(
215215
216216 @abc .abstractmethod
217217 def log_test_results (
218- self , result : unittest .result .TestResult , output : str , target_dialect : str
218+ self , result : unittest .result .TestResult , output : t . Optional [ str ] , target_dialect : str
219219 ) -> None :
220220 """Display the test result and output.
221221
@@ -985,7 +985,7 @@ def _prompt_promote(self, plan_builder: PlanBuilder) -> None:
985985 plan_builder .apply ()
986986
987987 def log_test_results (
988- self , result : unittest .result .TestResult , output : str , target_dialect : str
988+ self , result : unittest .result .TestResult , output : t . Optional [ str ] , target_dialect : str
989989 ) -> None :
990990 divider_length = 70
991991 if result .wasSuccessful ():
@@ -1477,7 +1477,7 @@ def radio_button_selected(change: t.Dict[str, t.Any]) -> None:
14771477 self .display (radio )
14781478
14791479 def log_test_results (
1480- self , result : unittest .result .TestResult , output : str , target_dialect : str
1480+ self , result : unittest .result .TestResult , output : t . Optional [ str ] , target_dialect : str
14811481 ) -> None :
14821482 import ipywidgets as widgets
14831483
@@ -1786,7 +1786,7 @@ def _show_categorized_snapshots(self, plan: Plan, default_catalog: t.Optional[st
17861786 self ._print ("\n ```" )
17871787
17881788 def log_test_results (
1789- self , result : unittest .result .TestResult , output : str , target_dialect : str
1789+ self , result : unittest .result .TestResult , output : t . Optional [ str ] , target_dialect : str
17901790 ) -> None :
17911791 # import ipywidgets as widgets
17921792 if result .wasSuccessful ():
@@ -2079,7 +2079,7 @@ def show_model_difference_summary(
20792079 self ._write (f" Modified: { modified } " )
20802080
20812081 def log_test_results (
2082- self , result : unittest .result .TestResult , output : str , target_dialect : str
2082+ self , result : unittest .result .TestResult , output : t . Optional [ str ] , target_dialect : str
20832083 ) -> None :
20842084 self ._write ("Test Results:" , result )
20852085
0 commit comments