Changeset 5856 for anuga_core/source/anuga/caching/test_caching.py
- Timestamp:
- Oct 22, 2008, 3:32:09 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/caching/test_caching.py
r5855 r5856 382 382 383 383 384 def XXtest_caching_of_simple_circular_structures(self): 385 386 # FIXME (Ole): This one recurses infinitly on 387 # arg strings. 388 384 def test_caching_of_simple_circular_dictionaries(self): 389 385 """test_caching_of_circular_structures 390 386 … … 393 389 """ 394 390 395 verbose = True391 verbose = False #True 396 392 397 393 # Create input argument … … 400 396 A['B'] = B # Make it circular 401 397 402 print A403 404 398 # Test caching 405 399 comprange = 2 … … 409 403 T1 = cache(f_generic, A, evaluate=1, 410 404 compression=comp, verbose=verbose) 411 412 import sys; sys.exit()413 405 414 406 … … 425 417 426 418 427 assert T1 == T2,'Cached result does not match computed result'428 assert T2 == T3, 'Cached result does not match computed result'429 430 419 msg = 'Cached result does not match computed result' 420 assert str(T1) == str(T2), msg 421 assert str(T2) == str(T3), msg 422 431 423 432 424
Note: See TracChangeset
for help on using the changeset viewer.