Changeset 3715 for anuga_core/source/anuga/caching
- Timestamp:
- Oct 9, 2006, 4:46:39 PM (18 years ago)
- Location:
- anuga_core/source/anuga/caching
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/caching/caching.py
r3514 r3715 308 308 # FIXME: os.remove doesn't work under windows 309 309 os.system('del '+fn) 310 if verbose :310 if verbose is True: 311 311 print 'MESSAGE (caching): File %s deleted' %fn 312 312 ##else: -
anuga_core/source/anuga/caching/test_caching.py
r2263 r3715 133 133 """Test that 'clear' works 134 134 """ 135 135 136 N = 5000 #Make N fairly small here 136 137 … … 145 146 146 147 147 cache(f, (a,b,c,N), {'x':x, 'y':y}, clear = 1)148 cache(f, (a,b,c,N), {'x':x, 'y':y}, clear = 1) 148 149 149 150 … … 151 152 152 153 153 T4 = cache(f,(a,b,c,N), {'x':x, 'y':y}, test=1) 154 T4 = cache(f, (a,b,c,N), {'x':x, 'y':y}, test=1) 155 #print 'T4', T4 154 156 assert T4 is None, "Option 'test' when cache absent failed" 155 157
Note: See TracChangeset
for help on using the changeset viewer.