Changeset 4795


Ignore:
Timestamp:
Nov 5, 2007, 5:43:35 PM (17 years ago)
Author:
duncan
Message:

bug fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/test_all.py

    r4794 r4795  
    8585        for file in exclude_files:
    8686            print 'WARNING: File '+ file + ' to be excluded from testing'
    87         try:   
    88             files.remove(file)
    89         except ValueError, e:
    90             msg = 'File "%s" was not found in test suite.\n' %file
    91             msg += 'Original error is "%s"\n' %e
    92             msg += 'Perhaps it should be removed from exclude list?'
    93             raise Exception, msg
     87            try:   
     88                files.remove(file)
     89            except ValueError, e:
     90                msg = 'File "%s" was not found in test suite.\n' %file
     91                msg += 'Original error is "%s"\n' %e
     92                msg += 'Perhaps it should be removed from exclude list?'
     93                raise Exception, msg
    9494
    9595    filenameToModuleName = lambda f: os.path.splitext(f)[0]
Note: See TracChangeset for help on using the changeset viewer.