Ignore:
Timestamp:
Jul 22, 2009, 9:22:11 AM (15 years ago)
Author:
rwilson
Message:

Replaced 'print' statements with log.critical() calls.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/caching/test_caching.py

    r7309 r7317  
    5050
    5151def retrieve_cache(Dummy, verbose=False):
    52   if verbose: print 'Check that cache is there'
     52  if verbose: print('Check that cache is there')
    5353 
    5454  X = cache(Dummy, args=(9,10), test=1,
     
    386386        f2 = call(5, 7)
    387387
    388         #print myhash(f1)
    389         #print myhash(f2)     
    390 
    391388        # Check that hash value of callable objects don't change
    392389        # FIXME (Ole): The hash values do appear to change when OS
     
    411408        bc2 = get_bytecode(f2)
    412409       
    413         #print 'bc1', bc1
    414         #print 'bc2', bc2
    415        
    416410        msg = 'Byte code should be different'
    417411        assert bc1 != bc2, msg
     
    631625       
    632626        T4 = cache(f, (a,b,c,N), {'x':x, 'y':y}, test=1)
    633         #print 'T4', T4
    634627        assert T4 is None, "Option 'test' when cache absent failed"
    635628
Note: See TracChangeset for help on using the changeset viewer.