]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Ignore unicode errors from output
authorvsr <vsr@opencascade.com>
Fri, 19 Mar 2021 09:27:44 +0000 (12:27 +0300)
committervsr <vsr@opencascade.com>
Fri, 19 Mar 2021 09:27:44 +0000 (12:27 +0300)
bin/appliskel/salome_tester/salome_test_driver.py

index 4bc37aa4c338d68d244615ae0c3104505a34be65..7f6c485d6a9692d65c8b941799a95983dce2abb2 100755 (executable)
@@ -43,8 +43,8 @@ def runTest(command):
 # Display output and errors
 def processResult(res, out, err):
   # Decode output
-  out = out.decode('utf_8') if out else ''
-  err = err.decode('utf_8') if err else ''
+  out = out.decode('utf_8', errors='ignore') if out else ''
+  err = err.decode('utf_8', errors='ignore') if err else ''
 
   # Execute hook if it is installed
   if getattr(processResult, '__hook', None):