Ignore:
Timestamp:
Feb 3, 2006, 11:20:56 AM (19 years ago)
Author:
duncan
Message:

bug fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/test_all.py

    r2302 r2331  
    1616#E.g. if they are known to fail and under development
    1717exclude_files = ['test_metis.py', 'test_version.py',
    18                  'test_interpolate.py'  # this is under development
     18                 'test_interpolate.py',# this is under development
    1919                 ]
    2020                 #'test_calculate_region.py', 'test_calculate_point.py']
     
    5959    import os, unittest
    6060    path = os.getcwd()
    61 
    62     files = get_test_files(path)
    63 
    64 
    65     while __file__ in files:
    66         try:
    67             files.remove(__file__)  #Remove self from list (Ver 2.3. or later)
    68         except:
    69             files.remove('test_all.py')
    70 
    71 
     61   
     62    files = [x for x in  get_test_files(path) if not x == 'test_all.py']
     63   
    7264    print 'Testing path %s:' %('...'+path[-50:])
    7365    for file in files:
Note: See TracChangeset for help on using the changeset viewer.