@@ -173,20 +173,20 @@ def main():
173173 UserWarning ,
174174 )
175175
176- print ("\n ---\n Backend test summary:" )
177- for name in ("tensorflow" , "pytorch" ):
178- status , _ = backend_results .get (name , ("SKIPPED" , None ))
179- print (f"{ name :<11} [{ status } ]" )
180- print ("---" )
181- for name , (status , error ) in backend_results .items ():
182- if status == "ERROR" :
183- print (f"{ name .capitalize ()} error:\n { error } \n " )
184-
185- if not any_backend_succeeded and backend_failures :
186- failure_messages = "; " .join (
187- f"{ b } : { exc } " for b , exc in backend_failures .items ()
188- )
189- raise RuntimeError (f"All backend tests failed. Details: { failure_messages } " )
176+ print ("\n ---\n Backend test summary:" )
177+ for name in ("tensorflow" , "pytorch" ):
178+ status , _ = backend_results .get (name , ("SKIPPED" , None ))
179+ print (f"{ name :<11} [{ status } ]" )
180+ print ("---" )
181+ for name , (status , error ) in backend_results .items ():
182+ if status == "ERROR" :
183+ print (f"{ name .capitalize ()} error:\n { error } \n " )
184+
185+ if not any_backend_succeeded and backend_failures :
186+ failure_messages = "; " .join (
187+ f"{ b } : { exc } " for b , exc in backend_failures .items ()
188+ )
189+ raise RuntimeError (f"All backend tests failed. Details: { failure_messages } " )
190190
191191
192192 finally :
0 commit comments