[pypy-commit] pypy py3.3: fix test_validate

pjenvey noreply at buildbot.pypy.org
Wed Jul 30 02:32:57 CEST 2014


Author: Philip Jenvey <pjenvey at underboss.org>
Branch: py3.3
Changeset: r72617:7e04e788d910
Date: 2014-07-29 17:31 -0700
http://bitbucket.org/pypy/pypy/changeset/7e04e788d910/

Log:	fix test_validate

diff --git a/pypy/interpreter/astcompiler/validate.py b/pypy/interpreter/astcompiler/validate.py
--- a/pypy/interpreter/astcompiler/validate.py
+++ b/pypy/interpreter/astcompiler/validate.py
@@ -11,8 +11,7 @@
 
 
 class ValidationError(Exception):
-    def __init__(self, message):
-        self.message = message
+    """Signals an invalid AST"""
 
 
 def expr_context_name(ctx):


More information about the pypy-commit mailing list