Salome HOME
Merge changes from 'master' branch.
[modules/kernel.git] / src / KERNEL_PY / kernel / unittester.py
index dc447b6f1b9d320fb81abf3098f3e5adf2b382a9..9abb4fa4c99b351c64ee4b2dd394b0686218b152 100644 (file)
@@ -53,15 +53,15 @@ def run(modulePath, functionName):
         print("[TEST] %s.%s %s NOT OK" % (moduleName, functionName,"."*tabsize))
 
 ## This function is for debug only. It executes the specified function with the
-#  specified arguments in a try/except bloc so that to display the exception in
-#  the case where an exception is raised (usefull to debug server side of a CORBA
+#  specified arguments in a try/except block so as to display the exception in
+#  the case where an exception is raised (useful to debug server side of a CORBA
 #  process).
 #  \ingroup unittester
 def tryfunction(function,*argv):
     """
     This function is for debug only. It executes the specified function with the
-    specified arguments in a try/except bloc so that to display the exception in
-    the case where an exception is raised (usefull to debug server side of a CORBA
+    specified arguments in a try/except block so as to display the exception in
+    the case where an exception is raised (useful to debug server side of a CORBA
     process).
     """
     print("[TEST] trying the function %s" % function)