Changeset 6231
- Timestamp:
- Jan 22, 2009, 1:46:54 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/caching/test_caching.py
r6230 r6231 388 388 f1 = call(2, 3) 389 389 f2 = call(5, 7) 390 391 390 391 392 392 # Check that hash value of callable objects don't change 393 assert myhash(f1) == -758136387 394 assert myhash(f2) == -11221564 393 if os.name == 'posix' and os.uname()[4] in ['x86_64', 'ia64']: 394 # 64 bit hash values 395 f1hash = 1914027059797211698 396 f2hash = 1914027059807087171 397 else: 398 f1hash = -758136387 399 f2hash = -11221564 400 401 assert myhash(f1) == f1hash 402 assert myhash(f2) == f2hash 395 403 396 404 bc1 = get_bytecode(f1)
Note: See TracChangeset
for help on using the changeset viewer.