[pypy-commit] pypy improve-errors-again2: (Edd, Ronan) Unbreak some tests.

vext01 noreply at buildbot.pypy.org
Fri Aug 30 16:45:56 CEST 2013


Author: Edd Barrett <vext01 at gmail.com>
Branch: improve-errors-again2
Changeset: r66667:302547d5444a
Date: 2013-08-30 15:00 +0100
http://bitbucket.org/pypy/pypy/changeset/302547d5444a/

Log:	(Edd, Ronan) Unbreak some tests.

	We accidentally moved data structures and functions.

diff --git a/rpython/tool/test/test_error.py b/rpython/tool/test/test_error.py
--- a/rpython/tool/test/test_error.py
+++ b/rpython/tool/test/test_error.py
@@ -7,6 +7,13 @@
 
 import py
 
+def compile_function(function, annotation=[]):
+    t = TranslationContext()
+    t.buildannotator().build_types(function, annotation)
+
+class AAA(object):
+    pass
+
 def test_someobject():
     def someobject_degeneration(n):
         if n == 3:


More information about the pypy-commit mailing list