[pypy-commit] pypy refactor-wrapped-del: A test for this part too.

arigo noreply at buildbot.pypy.org
Mon Jul 11 19:17:00 CEST 2011


Author: Armin Rigo <arigo at tunes.org>
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:


More information about the pypy-commit mailing list