Salome HOME
Merge branch 'omu/launcher_evol'
[modules/kernel.git] / src / KERNEL_PY / kernel / unittester.py
index 23fa05a66608c8113a7b8c8344d812aa3f31c141..1a0001b98f0e1d6ce625109169aadf7e5aaad500 100644 (file)
@@ -1,5 +1,5 @@
 # -*- coding: iso-8859-1 -*-
-# Copyright (C) 2010-2015  CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2010-2016  CEA/DEN, EDF R&D, OPEN CASCADE
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -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