diff options
Diffstat (limited to 'bindings/python/tests/tests.py')
| -rwxr-xr-x | bindings/python/tests/tests.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/bindings/python/tests/tests.py b/bindings/python/tests/tests.py index 9915a64e..14c8c864 100755 --- a/bindings/python/tests/tests.py +++ b/bindings/python/tests/tests.py @@ -14,12 +14,12 @@ # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. -# +# # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. -# +# # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA @@ -68,13 +68,13 @@ if options.xmlMode: print """<testsuites xmlns="http://check.sourceforge.net/ns">""" print """ <title>Python Bindings</title>""" print """ <datetime>%s</datetime>""" % time.strftime('%Y-%m-%d %H:%M:%S', time.localtime()) - + success = True for testSuite in testSuites: fp, pathname, description = imp.find_module(testSuite) - try: + try: module = imp.load_module(testSuite, fp, pathname, description) - finally: + finally: if fp: fp.close() if not module: |
