[pypy-svn] r68536 - pypy/branch/gc-hash/pypy/translator/cli/test
arigo at codespeak.net
arigo at codespeak.net
Fri Oct 16 14:54:01 CEST 2009
Author: arigo
Date: Fri Oct 16 14:54:01 2009
New Revision: 68536
Modified:
pypy/branch/gc-hash/pypy/translator/cli/test/test_dotnet.py
Log:
Renaming.
Modified: pypy/branch/gc-hash/pypy/translator/cli/test/test_dotnet.py
==============================================================================
--- pypy/branch/gc-hash/pypy/translator/cli/test/test_dotnet.py (original)
+++ pypy/branch/gc-hash/pypy/translator/cli/test/test_dotnet.py Fri Oct 16 14:54:01 2009
@@ -681,13 +681,13 @@
A = ootype.Instance("A", ootype.ROOT, {})
def fn():
a = ootype.new(A)
- ahash = ootype.ooidentityhash(a)
+ ahash = ootype.identityhash(a)
obj = ootype.cast_to_object(a)
native = cast_to_native_object(obj)
name = native.GetType().get_Name()
obj2 = cast_from_native_object(native)
a2 = ootype.cast_from_object(A, obj2)
- a2hash = ootype.ooidentityhash(a2)
+ a2hash = ootype.identityhash(a2)
return name, ahash == a2hash
res = self.ll_to_tuple(self.interpret(fn, []))
assert res == ('A', True)
More information about the Pypy-commit
mailing list