Changeset 4456
- Timestamp:
- May 16, 2007, 3:31:13 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/geospatial_data/test_geospatial_data.py
r4349 r4456 14 14 from anuga.utilities.anuga_exceptions import ANUGAError 15 15 # Ignore these warnings, since we still want to test .xya code. 16 import warnings 16 import warnings 17 17 warnings.filterwarnings(action = 'ignore', 18 18 message='.xya format is deprecated. Please use .txt.', … … 33 33 class Test_Geospatial_data(unittest.TestCase): 34 34 def setUp(self): 35 pass 35 import warnings 36 warnings.filterwarnings(action = 'ignore', 37 message='.xya format is deprecated. Please use .txt.', 38 category=DeprecationWarning) 39 40 warnings.filterwarnings(action = 'ignore', 41 message='The text file values must be ab', 42 category=DeprecationWarning) 43 44 warnings.filterwarnings(action = 'ignore', 45 message='Text file format is moving to comma se', 46 category=DeprecationWarning) 47 48 warnings.filterwarnings(action = 'ignore', 49 message='Specifying delimiters will be removed.', 50 category=DeprecationWarning) 36 51 37 52 def tearDown(self): … … 1581 1596 checking results are correct 1582 1597 ''' 1583 1584 1598 # create files 1585 1599 att_dict1 = {} … … 2142 2156 2143 2157 #suite = unittest.makeSuite(Test_Geospatial_data, 'test_write_csv_attributes_lat_long') 2144 #suite = unittest.makeSuite(Test_Geospatial_data, ' verbose_test_load_pts_blocking')2158 #suite = unittest.makeSuite(Test_Geospatial_data, 'test_export_xya_file') 2145 2159 suite = unittest.makeSuite(Test_Geospatial_data, 'test') 2146 2160 runner = unittest.TextTestRunner()
Note: See TracChangeset
for help on using the changeset viewer.