Ignore:
Timestamp:
Jul 12, 2009, 11:47:15 PM (15 years ago)
Author:
ole
Message:

Started migrating the caching module to Python 3.0 using the -3 flag.

File:
1 edited

Legend:

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

    r7276 r7309  
    884884      print
    885885      print 'Initial_addr  ', initial_addr
    886       print 'Redefined addr', `Dummy_memorytest`
     886      print 'Redefined addr', repr(Dummy_memorytest)
    887887      msg = 'Redefined class ended up at same memory location as '
    888888      msg += 'original class making this test irrelevant. Try to run '
    889889      msg += 'it again and see if this error goes away.'
    890890      msg += 'If it persists contact Ole.Nielsen@ga.gov.au'
    891       assert initial_addr != `Dummy_memorytest`, msg   
     891      assert initial_addr != repr(Dummy_memorytest), msg   
    892892
    893893     
Note: See TracChangeset for help on using the changeset viewer.