Changeset 8124 for trunk/anuga_core/source/anuga/abstract_2d_finite_volumes/test_generic_boundary_conditions.py
- Timestamp:
- Mar 3, 2011, 6:04:03 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/source/anuga/abstract_2d_finite_volumes/test_generic_boundary_conditions.py
r7814 r8124 38 38 pass 39 39 else: 40 raise 'Should have raised exception'40 raise Exception('Should have raised exception') 41 41 42 42 … … 48 48 pass 49 49 else: 50 raise 'Should have raised exception'50 raise Exception('Should have raised exception') 51 51 52 52 def test_dirichlet(self): … … 95 95 pass 96 96 else: 97 raise 'Should have raised exception'97 raise Exception('Should have raised exception') 98 98 99 99 #Test time bdry, you need to provide a function … … 103 103 pass 104 104 else: 105 raise 'Should have raised exception'105 raise Exception('Should have raised exception') 106 106 107 107 … … 161 161 pass 162 162 else: 163 raise 'Should have raised exception'163 raise Exception('Should have raised exception') 164 164 165 165 #Test time bdry, you need to provide a function … … 169 169 pass 170 170 else: 171 raise 'Should have raised exception'171 raise Exception('Should have raised exception') 172 172 173 173 … … 233 233 pass 234 234 else: 235 raise 'Should have raised exception'235 raise Exception('Should have raised exception') 236 236 237 237 T = Transmissive_boundary(domain) … … 424 424 pass 425 425 else: 426 raise 'Should have raised an exception'426 raise Exception('Should have raised an exception') 427 427 428 428 os.remove(filename + '.txt')
Note: See TracChangeset
for help on using the changeset viewer.