Author: Armin Rigo <[email protected]>
Branch: refactor-wrapped-del
Changeset: r45467:15f692da1705
Date: 2011-07-11 11:22 +0200
http://bitbucket.org/pypy/pypy/changeset/15f692da1705/
Log: A test for this part too.
diff --git a/pypy/rlib/test/test_jit.py b/pypy/rlib/test/test_jit.py
--- a/pypy/rlib/test/test_jit.py
+++ b/pypy/rlib/test/test_jit.py
@@ -83,6 +83,9 @@
t, rtyper, fngraph = self.gengraph(fn, [int])
+ # added by compute_result_annotation()
+ assert fn._dont_reach_me_in_del_ == True
+
def getargs(func):
for graph in t.graphs:
if getattr(graph, 'func', None) is func:
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit